Skip to content

Use k8sattributes processor's native support for service attributes #1723

Open
@ChrsMark

Description

@ChrsMark

The k8sattributes processor now supports natively Service attributes' handling based on Semantic Conventions' guidance: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.127.0/processor/k8sattributesprocessor/README.md#configuring-recommended-resource-attributes

We should consider using this natively instead of manually extracting from labels i.e. at

- tag_name: service.name
key: app.kubernetes.io/name
from: pod
- tag_name: service.name
key: k8s-app
from: pod
- tag_name: k8s.app.instance
key: app.kubernetes.io/instance
from: pod
- tag_name: service.version
key: app.kubernetes.io/version
.

Related implementation: open-telemetry/opentelemetry-collector-contrib#37114

/cc @rogercoll @jaronoff97 @zeitlinger

Metadata

Metadata

Assignees

Labels

chart:collectorIssue related to opentelemetry-collector helm chartenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions