[processor/k8sattributes] introduce semconv compaint feature gate pair#45307
Merged
dmitryax merged 8 commits intoopen-telemetry:mainfrom Feb 4, 2026
Merged
Conversation
a20f3e1 to
d1118cb
Compare
ChrsMark
reviewed
Jan 12, 2026
Member
ChrsMark
left a comment
There was a problem hiding this comment.
Thank's @odubajDT . I think we should wait for open-telemetry/opentelemetry-collector#14273 to ensure we indeed follow the decided feature gate schema.
Member
|
open-telemetry/opentelemetry-collector/pull/14273 is on the merge queue :) |
d151980 to
b064c9e
Compare
ChrsMark
reviewed
Jan 28, 2026
ChrsMark
reviewed
Jan 28, 2026
ChrsMark
reviewed
Jan 29, 2026
Member
ChrsMark
left a comment
There was a problem hiding this comment.
LGTM.
Tested that manually with several combinations and seems to work as expected:
command:
extraArgs:
#- --feature-gates=+processor.k8sattributes.EmitV1K8sConventions,+processor.k8sattributes.DontEmitV0K8sConventions # should emit v1 -> OK
#- --feature-gates=+processor.k8sattributes.EmitV1K8sConventions,-processor.k8sattributes.DontEmitV0K8sConventions # should emit both -> OK
#- --feature-gates=-processor.k8sattributes.EmitV1K8sConventions,+processor.k8sattributes.DontEmitV0K8sConventions # should error -> OK
- --feature-gates=processor.k8sattributes.EmitV1K8sConventions # should emit both -> OKSigned-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
5de4a2b to
941624a
Compare
ChrsMark
approved these changes
Jan 29, 2026
Member
|
@open-telemetry/collector-contrib-approvers PTAL since this is the first component following the semconv migration logic defined by https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/semconv-feature-gates.md#proposed-mechanism. It would be nice to have this merged soon so as to proceed with the component's stability efforts. |
VihasMakwana
approved these changes
Feb 3, 2026
ChrsMark
pushed a commit
that referenced
this pull request
Feb 4, 2026
ajimenez1503
pushed a commit
to ajimenez1503/opentelemetry-collector-contrib
that referenced
this pull request
Feb 4, 2026
open-telemetry#45307) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Introduce semantic conventions compliant feature gate pair for k8sattributes processor <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#44693 Part of open-telemetry#44589 <!--Please delete paragraphs that you did not use before submitting.--> --------- Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
ajimenez1503
pushed a commit
to ajimenez1503/opentelemetry-collector-contrib
that referenced
this pull request
Feb 4, 2026
…pen-telemetry#45745) <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#45718 follow-up of open-telemetry#45307 --------- Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
ajimenez1503
pushed a commit
to ajimenez1503/opentelemetry-collector-contrib
that referenced
this pull request
Feb 4, 2026
…te to latest semconv (open-telemetry#45310) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description follow up of open-telemetry#45307 --------- Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
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.
Description
Introduce semantic conventions compliant feature gate pair for k8sattributes processor
Link to tracking issue
Fixes #44693 Part of #44589