Slackbot
08/18/2023, 3:18 PMShivanshu Raj Shrivastava
08/18/2023, 3:53 PMk8sattributes
processor.
The catch here is, we need a way to correlate the pod metadata somehow to the attributes collected, for that purpose pod_association
is used, you'd need a service account configured with get
, watch
and list
permissions to be able to fetch the data from API server.
Kindly refer to the documentation here for configuration https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/k8sattributesprocessor/README.md#configuration.
I had tried this in past and it works, let us know if you still face the issue.Soumyadeep Mukherjee
08/19/2023, 9:37 AMSoumyadeep Mukherjee
08/19/2023, 9:38 AMSoumyadeep Mukherjee
08/19/2023, 9:38 AMSoumyadeep Mukherjee
08/19/2023, 9:38 AMSoumyadeep Mukherjee
08/19/2023, 9:40 AMPranay