[k8sattributesprocessor] How to populate incoming metric values with k8s metadata correctly? #24364
Unanswered
sfc-gh-aivanou
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am a little bit confused by the k8sattributeprocessor documentation here: https://pkg.go.dev/github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor#section-readme
I run otel collector as an agent, and have a prometheus scraper that scrapes metrics from the kube-state metrics.
Lets say that I get the following value:
Now I need to enrich this metric stream with several pod labels. What exactly should I provide as source for
k8sattributesprocessor
here to do so?Beta Was this translation helpful? Give feedback.
All reactions