You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have been limiting the number of custom metrics sent by OTEL in our EKS cluster to reduce cost. In doing so I appear to be running into a case where the prefix of a metric_name_selector is catching other metrics as well that share a similar prefix.
Though this could also be a case of mis-config on my end!
Steps to reproduce
Leveraging the following config chunk for OTEL:
I think this has to do with the selector being a regex.
As you can see regex hello is match for string helloWorld
You could try using a regex that is more specific
Describe the bug
We have been limiting the number of custom metrics sent by OTEL in our EKS cluster to reduce cost. In doing so I appear to be running into a case where the prefix of a
metric_name_selector
is catching other metrics as well that share a similar prefix.Though this could also be a case of mis-config on my end!
Steps to reproduce
Leveraging the following config chunk for OTEL:
Four metrics can land in Cloudwatch:
pod_cpu_utilization
pod_cpu_utilization_over_pod_limit
pod_memory_utilization
pod_memory_utilization_over_pod_limit
What did you expect to see?
I expected to see only the two metrics specified and not to see the extra custom metrics arriving.
What did you see instead?
Occasionally the
_over_pod_limit
metrics were showing up without this being present in the configuration.Environment
Running on an EKS cluster in AWS (eu-west-2) running version 1.19 of EKS and v0.13.0 of the AWS OTEL Collector project.
Full configmap below:
The text was updated successfully, but these errors were encountered: