-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[processor/k8sattributes] introduce semconv compaint feature gate pair #45307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Description
Introduce semantic conventions compliant feature gate pair for k8sattributes processor
Link to tracking issue
Fixes #44693 Part of #44589