Unable to Filter Metrics Using Resource Attributes - resource_attributes #4887
-
Hi Everyone,
This works fine and I see filtered metrics against my apps in the Container Insights. The problem is as soon as I add
AWS ADOT Collector stops publishing any metrics to Container Insights. Can anyone please help with this? I am using this guide and sample config file: Sample config file: Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, are you sure that Can you add a logger in your pipeline (without resource_attributes filtering) and provide a sample ResourceMetrics? |
Beta Was this translation helpful? Give feedback.
-
I think this question is duplicated here: open-telemetry/opentelemetry-collector-contrib#8106 Perhaps
In case of the that, you can use groupbyattrs processor to move it to resource, e.g.: processors:
groupbyattrs:
keys:
- k8s.pod.name
You need to set the debug level, e.g. exporters:
logging/debug:
loglevel: debug |
Beta Was this translation helpful? Give feedback.
I think this question is duplicated here: open-telemetry/opentelemetry-collector-contrib#8106
Perhaps
k8s.pod.name
is assigned in a consecutive processor? If that's the case, order inprocessors
section needs to be modified.In case of the that, you can use groupbyattrs processor to move it to resource, e.g.:
You need to set the debug level, e.g.