Skip to content

[processor/k8sattributes] Sync k8s workload labels and annotations attributes to match semconv #39774

@odubajDT

Description

@odubajDT

Component(s)

processor/k8sattributes

Describe the issue you're reporting

Resource attributes of k8s workloads which are injected from labels and annotations have a wrong key format k8s.<workload>.labels.<label-key> and k8s.<workload>.annotations.<annotation-key>.

According to the latest semconv (list of open and closed issues), the processor should be aligned to the semconv once all of them get merged.

The resulting keys should be:

k8s.<workload>.label.<label-key>
k8s.<workload>.annotation.<annotation-key>

The change should be hidden behind a feature gate to allow a smooth transition for the users, since it will result in a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    never staleIssues marked with this label will be never staled and automatically removedprocessor/k8sattributesk8s Attributes processor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions