# Kubernetes Attributes Processor

<!-- llms-txt-link: /llms.txt -->

> 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

| Level | Signals |
| --- | --- |
| beta | logs, metrics, traces |
| development | profiles |

## Attributes

| Attribute | Type | Description |
| --- | --- | --- |
| `otelcol.signal` | string | The signal type the telemetry metric is associated with |
| `pod_identifier` | string | The 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. |
| `status` | string | The status of the pod association operation |

## Data

- **JSON**: [/data/collector/components/contrib-k8sattributesprocessor/contrib-k8sattributesprocessor-aecb75c2519d.json](/data/collector/components/contrib-k8sattributesprocessor/contrib-k8sattributesprocessor-aecb75c2519d.json)
- **Explore**: [/collector/components/contrib/k8sattributesprocessor](/collector/components/contrib/k8sattributesprocessor)
