[exporter/signalfx] Add an option to strip k8s.<resource>.label. prefix from dimension property updates.#47494
Merged
dmitryax merged 1 commit intoApr 11, 2026
Conversation
a2e26eb to
b6a5305
Compare
jinja2
reviewed
Apr 9, 2026
b6a5305 to
2eb8ba9
Compare
jinja2
reviewed
Apr 10, 2026
jinja2
approved these changes
Apr 10, 2026
2eb8ba9 to
aef0667
Compare
atoulme
approved these changes
Apr 10, 2026
Member
|
Looks good once CI is fixed |
crobert-1
approved these changes
Apr 10, 2026
Add a configurable `dimension_client::strip_k8s_label_prefix` option (default: true) that strips the `k8s.<resource>.label.` prefix from Kubernetes resource label keys before sending them as SignalFx dimension properties. This maintains backwards compatibility with existing SignalFx consumers while supporting the new OTel semconv label key format emitted by receiver/k8s_cluster. Assisted-by: Claude Opus 4.6
aef0667 to
a3eaac0
Compare
AndrewCharlesHay
pushed a commit
to AndrewCharlesHay/opentelemetry-collector-contrib
that referenced
this pull request
Apr 23, 2026
…efix from dimension property updates. (open-telemetry#47494) Add `dimension_client::strip_k8s_label_prefix` option to strip `k8s.<resource>.label.` prefix from dimension property updates. Once open-telemetry#47493 is merged, the k8s cluster receiver will emit Kubernetes resource labels in entity events with the `k8s.<resource>.label.` prefix per OTel semantic conventions (e.g. `k8s.pod.label.app`). When `strip_k8s_label_prefix: true` (the default), the SignalFx exporter strips this prefix when forwarding labels as dimension properties, preserving the existing SignalFx behavior (e.g. `app`).
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.
Add
dimension_client::strip_k8s_label_prefixoption to stripk8s.<resource>.label.prefix from dimension property updates.Once #47493 is merged, the k8s cluster receiver will emit Kubernetes resource labels in entity events with the
k8s.<resource>.label.prefix per OTel semantic conventions (e.g.k8s.pod.label.app). Whenstrip_k8s_label_prefix: true(the default), the SignalFx exporter strips this prefix when forwarding labels as dimension properties, preserving the existing SignalFx behavior (e.g.app).