This action adds kubernetes related resource attributes to spans, metrics data points and log records.
actionName
string
: Allows you to attach a meaningful name to the action for convenience.notes
string
: Allows you to attach notes regarding the action for convenience.disabled
boolean
: Allows you to temporarily disable the action, but keep it saved for future use.false
signals *
string[]
: An array with the signals that the processor will act on.TRACES, LOGS, METRICS
collectContainerAttributes
boolean
: Collect the following container related attributes:k8s.container.name
container.id
container.image.name
container.image.tag
false
collectReplicaSetAttributes
boolean
: Collect the following replica set related attributes:k8s.replicaset.name
if CollectWorkloadUID is set to true, the following attribute will be collected as well:k8s.replicaset.uid
false
CollectWorkloadUID
boolean
: Collect the workload UID:k8s.deployment.uid
k8s.daemonset.uid
k8s.statefulset.uid
false
CollectClusterUID
boolean
: Collect the k8s.cluster.uid
attribute, which is set to the uid of the namespace “kube-system”. This allows aggregating observability based on the cluster it originated from.This field is optional and defaults to false
labelsAttributes
K8sLabelAttribute[]
: Collect resource attributes based on the specified labels. The labels are taken from the Pod which emits the telemetry. Missing labels will be ignored.This field is optional and can remain empty.annotationsAttributes
K8sAnnotationAttribute[]
: Collect resource attributes based on the specified annotation. The annotations are taken from the Pod which emits the telemetry. Missing annotations will be ignored.This field is optional and can remain empty.