k8sattributes processor
2 complete collector configs on this site use the k8sattributes processor. Each is a whole file, validated with otelcol-contrib v0.161.0.
- Add Kubernetes pod, namespace and deployment to telemetryTag every log, metric and span with the namespace, pod, deployment and node it came from.Logs · Metrics · Traces
- Kubernetes pod logs to Loki, enriched with deployment and clusterEvery pod's logs into Loki over OTLP, labelled with namespace, pod, container, deployment, node and cluster.Logs