[processor/k8sattributes] introduce semconv compaint feature gate pair#45307
Conversation
a20f3e1 to
d1118cb
Compare
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.
|
open-telemetry/opentelemetry-collector/pull/14273 is on the merge queue :) |
d151980 to
b064c9e
Compare
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
|
@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. |
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>
…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>
…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>
Description
Introduce semantic conventions compliant feature gate pair for k8sattributes processor
Link to tracking issue
Fixes #44693 Part of #44589