Overview of Kubernetes Attributes Processor
mainThe k8sattributes processor automatically discovers Kubernetes resources (pods), extracts metadata from them, and adds that metadata to the resource attributes of spans, metrics, and logs. It uses the Kubernetes API to maintain a record of pod IP addresses, pod UIDs, and other metadata.
Association between telemetry data and pod metadata is determined by the pod_association configuration, which executes a list of association rules in order until a match is found.