-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Ensure that k8s labels and annotations follow SemConv #32440
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
We do need to do this, I'd prefer not doing it until the |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Still valid. Should we mark this as "never stale" to avoid having this closed at some point in case we miss updating it? |
Related to open-telemetry/semantic-conventions#1242. |
the k8sattributesprocessor is still using old semantic convention version v1.6.1 and the latest version v1.25.0 includes both k8s.cluster.name and k8s.container.restart_count. when I try to add cluster name k8s attribute according to this semantic convention documentation, I'm getting validation error: "k8s.cluster.name is not a supported metadata field" |
@venkatesh-thatham although You should set an attribute with the static cluster name via an env var or static string using the resource processor or transformprocessor. |
The resourcedetectionprocessor can also provide the |
Component(s)
processor/k8sattributes
Describe the issue you're reporting
This is issue is to keep track of any pending task to align the
k8sattributes
processor with SemConv's pod's labels and annotations spec.Ref PRs:
This might also applies on the
kubeletstats
andk8scluster
receivers as well.The text was updated successfully, but these errors were encountered: