prometheus_rabbitmq_exporter icon indicating copy to clipboard operation
prometheus_rabbitmq_exporter copied to clipboard

Update plugin for RabbitMQ Managment 3.8.0

Open sfoxdev opened this issue 5 years ago • 5 comments

Trying to use plugin 3.7.9.1 for RabbitMQ Managment 3.8.0 but it not works. On pluging enable getting error:

Enabling plugins on node rabbit@830a664f00c1:
prometheus_rabbitmq_exporter
Problem reading some plugins: [{"/opt/rabbitmq/plugins/prometheus-4.3.0.ez",
                                duplicate_plugin}]
Problem reading some plugins: [{"/opt/rabbitmq/plugins/prometheus-4.3.0.ez",
                                duplicate_plugin}]
Problem reading some plugins: [{"/opt/rabbitmq/plugins/prometheus-4.3.0.ez",
                                duplicate_plugin}]
The following plugins have been configured:
  prometheus_rabbitmq_exporter
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch
Applying plugin configuration to rabbit@830a664f00c1...
The following plugins have been enabled:
  prometheus_rabbitmq_exporter

set 4 plugins.
Offline change; changes will take effect at broker restart.
Listing plugins with pattern ".*" ...
Problem reading some plugins: [{"/opt/rabbitmq/plugins/prometheus-4.3.0.ez",
                                duplicate_plugin}]
 Configured: E = explicitly enabled; e = implicitly enabled
 | Status: [failed to contact rabbit@830a664f00c1 - status not shown]
 |/
[E ] prometheus_rabbitmq_exporter      3.7.9.1
[  ] rabbitmq_amqp1_0                  3.8.0
[  ] rabbitmq_auth_backend_cache       3.8.0
[  ] rabbitmq_auth_backend_http        3.8.0
[  ] rabbitmq_auth_backend_ldap        3.8.0
[  ] rabbitmq_auth_backend_oauth2      3.8.0
[  ] rabbitmq_auth_mechanism_ssl       3.8.0
[  ] rabbitmq_consistent_hash_exchange 3.8.0
[  ] rabbitmq_event_exchange           3.8.0
[  ] rabbitmq_federation               3.8.0
[  ] rabbitmq_federation_management    3.8.0
[  ] rabbitmq_jms_topic_exchange       3.8.0
[E ] rabbitmq_management               3.8.0
[e ] rabbitmq_management_agent         3.8.0
[  ] rabbitmq_mqtt                     3.8.0
[  ] rabbitmq_peer_discovery_aws       3.8.0
[  ] rabbitmq_peer_discovery_common    3.8.0
[  ] rabbitmq_peer_discovery_consul    3.8.0
[  ] rabbitmq_peer_discovery_etcd      3.8.0
[  ] rabbitmq_peer_discovery_k8s       3.8.0
[  ] rabbitmq_prometheus               3.8.0
[  ] rabbitmq_random_exchange          3.8.0
[  ] rabbitmq_recent_history_exchange  3.8.0
[  ] rabbitmq_sharding                 3.8.0
[  ] rabbitmq_shovel                   3.8.0
[  ] rabbitmq_shovel_management        3.8.0
[  ] rabbitmq_stomp                    3.8.0
[  ] rabbitmq_top                      3.8.0
[  ] rabbitmq_tracing                  3.8.0
[  ] rabbitmq_trust_store              3.8.0
[e ] rabbitmq_web_dispatch             3.8.0
[  ] rabbitmq_web_mqtt                 3.8.0
[  ] rabbitmq_web_mqtt_examples        3.8.0
[  ] rabbitmq_web_stomp                3.8.0
[  ] rabbitmq_web_stomp_examples       3.8.0

sfoxdev avatar Oct 30 '19 10:10 sfoxdev

As of 3.8.0, RabbitMQ ships a built-in rabbitmq_prometheus plugin, no extra plugins required: https://www.rabbitmq.com/prometheus.html

gerhard avatar Nov 11 '19 17:11 gerhard

Thank you @gerhard , but I want to use this plugin, not native.

sfoxdev avatar Nov 20 '19 22:11 sfoxdev

3.7.9.1 is incompatible with RabbitMQ 3.8.x, which makes it a great opportunity to contribute.

It may be as simple as removing one of the prometheus-4.3.0.ez files, which means that the contribution is a documentation change.

I encourage you to give it a go! 👍

gerhard avatar Nov 20 '19 23:11 gerhard

As of 3.8.0, RabbitMQ ships a built-in rabbitmq_prometheus plugin, no extra plugins required: https://www.rabbitmq.com/prometheus.html

Thanks for this, @gerhard. But I couldn't find metrics specific to the queue, e.g., rabbitmq_queue_messages_delivered_total. Is there a way to enable this on the built-in plugin?

Yusadolat avatar Jul 21 '23 07:07 Yusadolat

go Services and restart the RabbitMQ.

Vijay-2050 avatar Jul 31 '23 16:07 Vijay-2050