deadtrickster / prometheus_rabbitmq_exporter

Prometheus.io exporter as a RabbitMQ Managment Plugin plugin
MIT License
290 stars 72 forks source link

Which version of Prometheus RabbitMQ Exporter should I choose for which RabbitMQ version? #65

Closed laimison closed 5 years ago

laimison commented 5 years ago

I'm looking for Prometheus plugin for RabbitMQ 3.3.5. Do you know which version is suitable for this? Actually I'm willing to automate dependencies downloading for any RabbitMQ version to ensure that Prometheus is enabled and compatible to avoid manual work. Any hints on that? I'm having some difficulties to find older plugins.

Many thanks

deadtrickster commented 5 years ago

I started this plugin with 3.6.x in mind. So the very first release is for this version. You could try it though.

laimison commented 5 years ago

@deadtrickster , thanks a lot for the answer and a great plugin. We will upgrade RabbitMQ. As I mentioned I'm willing to automate dependency resolution. The script should check RabbitMQ version and ensure that right Prometheus version is downloaded (if possible). How do I identify in the future which RabbitMQ version is suitable to which Prometheus version? As I see these dependencies are required, but not sure how to understand versioning for:

get accept-0.3.3.ez get prometheus-3.5.1.ez get prometheus_cowboy-0.1.4.ez get prometheus_httpd-2.1.8.ez get prometheus_process_collector-1.3.1.ez get prometheus_rabbitmq_exporter-3.7.2.3.ez

deadtrickster commented 5 years ago

there is a main plugin - prometheus_rabbitmq_exporter. and all other are just deps. Their versions aren't important really. Version of prometheus_rabbitmq_exporter should be read as follows: 3.7.2 is the earliest version this plugin can work with. If there is no more recent version of the plugin it means it's supposed to work with current version too. So say 3.7.2.3 is the latest release and therefore it should work with RabbitMQ 3.7.10. If however there is 3.7.5.1, 3.7.2.3 shouldn't be used with 3.7.10. Hope this makes sense. Let me know.

laimison commented 5 years ago

Absolutely, this is explained well. Thanks!