[helm] Otel Collector Not Extracting Labels From Pod #34625
Unanswered
BeaverBytes
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Problem
I defined the labels that I want to extract from my pod (e.g. app.kubernetes.io/component) in my values.yaml file, but it doesn't show up in the Tempo traces. Below is my values.yaml file:
And here is what I see in Tempo:
Discussion
I was expecting the pod labels I defined in my manifest file to be extracted and attached to the spans, but the collector doesn't seem to extract those labels. I'm wondering if there are additional things I need to configure, or if this is something that the collector isn't handling correctly.
Thanks in advance!
UPDATE
I just discovered that the collector is extracting the labels from Traefik instead of the application that's actually sending the traces to the collector. So my new question would be: is it possible to fetch the labels from the pod that emitted the traces instead of getting the labels from the Traefik pod? Or even combine the labels in some way to enrich the metadata?
Resources I looked into
Beta Was this translation helpful? Give feedback.
All reactions