Add freely configurable exporters for generic CF service bindings - #426
Merged
Conversation
Closed
5 tasks
Parsing the PEM representation of certs and keys is universal. This refactoring can be used for other more generic exporters. Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Add the option to filter CF Services by their name, not only tag and label. Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
This change introduces new exporters for logs, metrics and traces that are freely configurable to read the connection credentials from any CF binding in VCAP_SERVICES. The binding can be specified by name, label, tags or a combination of those. The exporters needs configuration of the properties within the credentials of the binding to know where to find the endpoint and auth properties. The exporter require either client key and cert for mTLS and will trust any server cert if not provided. Without mTLS an authorisation header is required.
KarstenSchnitter
force-pushed
the
cf-exporter
branch
from
September 3, 2026 11:49
056b28a to
3f46e7f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change introduces new exporters for logs, metrics and traces that are freely
configurable to read the connection credentials from any CF binding in VCAP_SERVICES.
The binding can be specified by name, label, tags or a combination of those.
The exporters needs configuration of the properties within the credentials of the
binding to know where to find the endpoint and auth properties. The exporter require
either client key and cert for mTLS and will trust any server cert if not provided. Without
mTLS an authorisation header is required.
This changes supports clear separation of configuration with secrets provided by the service binding and everything else from the app manifest.