rabbitmq_prometheus_exporter serves no metrics after upgrading to 3.13.0 #10613
-
Describe the bugAfter updating rabbitmq to v3.13.0, prometheus-rabbitmq-exporter is not able to get metrics from the cluster:
Reproduction steps
Expected behaviorprometheus-rabbitmq-exporter should still get metrics from rabbitmq cluster Additional contextRabbitmq cluster installed with cluster operator |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Please note that prometheus-rabbitmq-exporter is an external project and generally speaking, making sure it works is not within the scope of the RabbitMQ project. I'd highly recommend moving to the built-in Prometheus plugin which provides similar metrics without requiring an external tool and should also be more performant. If you have specific reasons why you think the exporter is better, please let us know what they are. Having said that, it causes an error 500 on the Management API so it is an issue that we need to fix. The stack trace is:
|
Beta Was this translation helpful? Give feedback.
-
The issue is that the exporter requests sorted results without specifying which column to sort by. I can reproduce the error without the exporter by starting a fresh node and then:
same problem with other endpoints ( |
Beta Was this translation helpful? Give feedback.
-
It's very generous of @mkuratczyk to have investigated something with an external Prometheus plugin. Given that the built-in plugin for Prometheus scraping has been around for years, I'd have simply closed it as something that the users of said plugin are supposed to deal with, just like with a lot of 3rd party plugins. |
Beta Was this translation helpful? Give feedback.
-
To summarize:
|
Beta Was this translation helpful? Give feedback.
@headyj
prometheus_rabbitmq_exporter
is NOT what is documented in the guide. It is not the plugin that ships with RabbitMQ, andprometheus-rabbitmq-exporter
has been effectively unmaintained ever since a different Prometheus plugin was included into the RabbitMQ distribution a few years ago.