-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[metrics]: Prometheus cloudwatch exporter - Not picking more than one or some dimension for MQ #504
Comments
Interesting, thank you for the complete report! The AWS docs are listing two MessageCount metrics – once as a RabbitMQ broker metric with only the Broker dimension, once as a RabbitMQ queue metric with all three dimensions. I think this is confusing the exporter. @or-shachar you may be interested in this one. Is there a workaround that would allow @tavincent to bypass the check for now? |
I think the exporter needs to handle this situation better, since we can't expect Amazon to stop having this collision 😅 |
Thanks Matthias, I'd also like to mention that this dimension's mismatch is not limited to a single RabbitMQ metric, so when you review please note that we have this collision for all RabbitMQ metrics (currently, only Broker dimension is accepted for all metrics). |
Hi Matthias, Any ETA on when this bug would be fixed on exporter end? |
This exporter is a volunteer-driven project, there are no commitments or timelines. The quickest way to get issues fixed is to make a PR! |
Hitting this issue with Therefore the collector cannot be used for to track this metric |
I don't know - maybe I'm late but I'm using this code to fetch
|
Hello Team,
We are trying to use cloudwatch as a datasource for prometheus as we have a managed RabbitMQ in AWS which we need to monitor using alertmanager/prometheus.
We have defined the following in our K8s config to scrape metrics and it is getting metrics in Broker level.
However as per aws documentation we can use multiple dimensions for this metrics "MessageCount", which will help me list the queue level message count as well rather than a Broker level aggregate.
AWS: " aws cloudwatch list-metrics --namespace AWS/RabbitMQ" Region : "us-east-1"
Whenever i used more than one dimension in my config i get the following error, even if the dimension is allowed by AWS as per ( aws cloudwatch list-metrics --namespace AWS/RabbitMQ).
from my yaml:
WARNING: (listDimensions) ignoring metric AWS/AmazonMQ:MessageCount due to dimensions mismatch
Feb 23, 2023 7:58:30 AM io.prometheus.cloudwatch.DefaultDimensionSource listDimensions
I need to understand why i am not able to use multiple dimensions in my yaml. FYI: I am able to list all these queues and everything is working as expected the aws console - cloudwatch logs.
Appreciate your help.
--
Taniya
The text was updated successfully, but these errors were encountered: