Soumyadeep Mukherjee
08/18/2023, 3:18 PMk8sattributes
processor to all pipelines but I dont think the metric source itself has the namespace then it cant process it.
Also, I noticed that all spans get collected within "signoz_calls_total" so even that metric works for me, but the namespace in that is always the namespace where the collector is running instead of the service whose spans are being collected.
Are there any suggestions here that I can do with minimal effort to get namespace?Shivanshu 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