This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/k8sattributesprocessor.md.

Kubernetes Attributes Processor

OpenTelemetry Collector processor · contrib distribution

The Kubernetes Attributes Processor allows adding k8s metadata to resource attributes for spans, metrics and logs.

  • Component ID: contrib-k8sattributesprocessor
  • Name: k8sattributesprocessor
  • Type: processor
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
betalogs, metrics, traces
developmentprofiles

Attributes

AttributeTypeDescription
otelcol.signalstringThe signal type the telemetry metric is associated with
pod_identifierstringThe source(s) used to identify the pod, formatted as 'from/name' (e.g., 'connection', 'resource_attribute/k8s.pod.ip'). Does not contain actual identifier values to avoid high cardinality.
statusstringThe status of the pod association operation

Data

  • JSON: /data/collector/components/contrib-k8sattributesprocessor/contrib-k8sattributesprocessor-aecb75c2519d.json
  • Explore: /collector/components/contrib/k8sattributesprocessor