Attributes
Kubernetes Attributes
This action adds kubernetes related resource attributes to spans, metrics data points and log records.
Overview
By adding Kubernetes-specific attributes to telemetry signals, you can gain better visibility into workloads running in the cluster.
Helps in correlating traces, logs and metrics with specific Kubernetes resources, such as pods, deployments, nodes and clusters.
Adding resource attributes based on custom kubernetes annotations/labels can enrich the data with user defined aggregations and metadata corresponding to the originating pod that produced the telemetry.
Configuration Options
Basic Example
The following example demonstrates how to collect Kubernetes attributes, including labels and annotations, and attach them to telemetry signals.
k8s-attributes.yaml