Skip to content

[k8s] Stabilize k8s resource/entity attributes #3120

@ChrsMark

Description

@ChrsMark

Part of #3119.

This issue suggests that we stabilise all resource/entity attributes that are used by the following Collector components:

Related to open-telemetry/opentelemetry-collector-contrib#44130.

Suggested Semantic Conventions

'✅' indicates that the Collector component makes use of this attribute
'🚫 ' indicates that the Collector component does not make use of this attribute

Attribute k8sattributes resourcedetection filelog completion status semconv link PR
k8s.pod.name 🚫 link
container.id 🚫 🚫 link
container.image.name 🚫 🚫 link
container.image.repo_digests 🚫 🚫 link
container.image.tag 🚫 🚫 link
k8s.cluster.uid 🚫 link
k8s.cluster.name 🚫 🚫 link
k8s.container.name 🚫 link
k8s.cronjob.name 🚫 🚫 link
k8s.cronjob.uid 🚫 🚫 link
k8s.daemonset.name 🚫 🚫 link
k8s.daemonset.uid 🚫 🚫 link
k8s.deployment.name 🚫 🚫 link
k8s.deployment.uid 🚫 🚫 link
k8s.job.name 🚫 🚫 link
k8s.job.uid 🚫 🚫 link
k8s.namespace.name 🚫 link
k8s.node.name 🚫 🚫 link
k8s.node.uid 🚫 🚫 link
k8s.pod.hostname 🚫 🚫 link
k8s.pod.ip 🚫 🚫 link
k8s.pod.start_time 🚫 🚫 link
k8s.pod.uid 🚫 link
k8s.replicaset.name 🚫 🚫 link
k8s.replicaset.uid 🚫 🚫 link
k8s.statefulset.name 🚫 🚫 link
k8s.statefulset.uid 🚫 🚫 link
k8s.container.restart_count 🚫 🚫 link
service.instance.id 🚫 done link
service.name 🚫 done link
service.namespace 🚫 🚫 done link
service.version 🚫 done link
k8s.pod.label.* 🚫 🚫 link
k8s.pod.annotation.* 🚫 🚫 link
k8s.node.label.* 🚫 🚫 link
k8s.node.annotation.* 🚫 🚫 link
k8s.namespace.label.* 🚫 🚫 link
k8s.namespace.annotation.* 🚫 🚫 link
k8s.deployment.label.* 🚫 🚫 link
k8s.deployment.annotation.* 🚫 🚫 link
k8s.statefulset.label.* 🚫 🚫 link
k8s.statefulset.annotation.* 🚫 🚫 link
k8s.daemonset.label.* 🚫 🚫 link
k8s.daemonset.annotation.* 🚫 🚫 link
k8s.job.label.* 🚫 🚫 link
k8s.job.annotation.* 🚫 🚫 link

/cc @open-telemetry/semconv-k8s-approvers @dashpole

Related issues

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Status

Accepted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions