Skip to content

[Otel Collector] Kubernetes Attribute Processor is Not Attaching k8s Metadata to Spans/Traces #10257

Closed Answered by BeaverBytes
BeaverBytes asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, after including the following source to my pod_association, it seems the processor is attaching the k8s metadata to the attributes.

config:
  processors:
    k8sattributes:
      pod_association:
        - sources:
          - from: resource_attribute
            name: k8s.pod.ip
        - sources: # this source seems to help identify the pods and the k8s metadata
          - from: resource_attribute
            name: k8s.pod.uid
        - sources:
          - from: connection

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BeaverBytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant