Unable to Filter Metrics Using Resource Attributes - resource_attributes #1222
mskhan-devops
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
Is this a query for opentelemetry-cpp, or opentelemetry-collector? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
As per the example on page opentelemetry-collector-contrib/processor/filterprocessor, I am trying to configure ADOT Collector Pipeline for EKS cluster to publish metrics to CloudWatch Container Insights:
This works fine and I see filtered metrics against my apps in the Container Insights.
The problem is as soon as I add
resource_attributes
to the above configuration to filter out metrics against the specific app running in the EKS cluster, like below: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:
Cost savings by customizing metrics sent by Container Insights in Amazon EKS
Sample config file:
otel-container-insights-infra.yaml
Thanks
Beta Was this translation helpful? Give feedback.
All reactions