deadtrickster / prometheus_rabbitmq_exporter

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

RabbitMQ 3.7 - only prometheus_rabbitmq_exporter ist loaded #35

Closed oneiros-de closed 6 years ago

oneiros-de commented 6 years ago

I'm trying an installation of RabbitMQ 3.7 (3.7.1 and 3.7.2) on Debian Stretch (9.3) with Erlang 20.1.

The issue is that although I've copied all plugins to /usr/lib/rabbitmq/lib/rabbitmq_server-3.7.1/plugins, rabbitmq-plugins list shows only prometheus_rabbitmq_exporter, not the other plugins like in 3.6.x.

# rabbitmq-plugins list
 Configured: E = explicitly enabled; e = implicitly enabled
 | Status: * = running on rabbit@test-rabbitmq-37-puppet
 |/
[E*] prometheus_rabbitmq_exporter      v3.7.1.1
[  ] rabbitmq_amqp1_0                  3.7.1
[  ] rabbitmq_auth_backend_cache       3.7.1
[  ] rabbitmq_auth_backend_http        3.7.1
[  ] rabbitmq_auth_backend_ldap        3.7.1
[  ] rabbitmq_auth_mechanism_ssl       3.7.1
[  ] rabbitmq_consistent_hash_exchange 3.7.1
[  ] rabbitmq_event_exchange           3.7.1
[  ] rabbitmq_federation               3.7.1
[  ] rabbitmq_federation_management    3.7.1
[  ] rabbitmq_jms_topic_exchange       3.7.1
[E*] rabbitmq_management               3.7.1
[e*] rabbitmq_management_agent         3.7.1
[  ] rabbitmq_mqtt                     3.7.1
[  ] rabbitmq_peer_discovery_aws       3.7.1
[  ] rabbitmq_peer_discovery_common    3.7.1
[  ] rabbitmq_peer_discovery_consul    3.7.1
[  ] rabbitmq_peer_discovery_etcd      3.7.1
[  ] rabbitmq_peer_discovery_k8s       3.7.1
[  ] rabbitmq_random_exchange          3.7.1
[  ] rabbitmq_recent_history_exchange  3.7.1
[  ] rabbitmq_sharding                 3.7.1
[  ] rabbitmq_shovel                   3.7.1
[  ] rabbitmq_shovel_management        3.7.1
[  ] rabbitmq_stomp                    3.7.1
[  ] rabbitmq_top                      3.7.1
[  ] rabbitmq_tracing                  3.7.1
[  ] rabbitmq_trust_store              3.7.1
[e*] rabbitmq_web_dispatch             3.7.1
[  ] rabbitmq_web_mqtt                 3.7.1
[  ] rabbitmq_web_mqtt_examples        3.7.1
[  ] rabbitmq_web_stomp                3.7.1
[  ] rabbitmq_web_stomp_examples       3.7.1
# l /usr/lib/rabbitmq/lib/rabbitmq_server-3.7.1/plugins
total 6124
-rw-r--r-- 1 root root   13395 Dec 21 22:27 accept-0.3.3.ez
-rw-r--r-- 1 root root  104602 Dec 21 13:32 amqp10_client-3.7.1.ez
-rw-r--r-- 1 root root   41194 Dec 21 13:32 amqp10_common-3.7.1.ez
-rw-r--r-- 1 root root  411074 Dec 21 13:32 amqp_client-3.7.1.ez
-rw-r--r-- 1 root root  224169 Dec 21 13:32 cowboy-2.0.0.ez
-rw-r--r-- 1 root root  438075 Dec 21 13:32 cowlib-2.0.0.ez
-rw-r--r-- 1 root root   69244 Dec 21 13:32 goldrush-0.1.9.ez
-rw-r--r-- 1 root root  101517 Dec 21 13:32 jsx-2.8.2.ez
-rw-r--r-- 1 root root  222981 Dec 21 13:32 lager-3.5.1.ez
-rw-r--r-- 1 root root  198993 Dec 21 22:28 prometheus-3.4.5.ez
-rw-r--r-- 1 root root   14344 Dec 21 22:28 prometheus_cowboy-0.1.4.ez
-rw-r--r-- 1 root root   22055 Dec 21 22:28 prometheus_httpd-2.1.8.ez
-rw-r--r-- 1 root root   17468 Dec 21 22:28 prometheus_process_collector-1.3.1.ez
-rw-r--r-- 1 root root  213774 Dec 21 22:28 prometheus_rabbitmq_exporter-v3.7.1.1.ez
-rw-r--r-- 1 root root  697498 Dec 21 13:32 rabbit_common-3.7.1.ez
-rw-r--r-- 1 root root  303410 Dec 21 13:32 rabbitmq_amqp1_0-3.7.1.ez
-rw-r--r-- 1 root root   31487 Dec 21 13:32 rabbitmq_auth_backend_cache-3.7.1.ez
-rw-r--r-- 1 root root   14430 Dec 21 13:32 rabbitmq_auth_backend_http-3.7.1.ez
-rw-r--r-- 1 root root   46977 Dec 21 13:32 rabbitmq_auth_backend_ldap-3.7.1.ez
-rw-r--r-- 1 root root   20115 Dec 21 13:32 rabbitmq_auth_mechanism_ssl-3.7.1.ez
-rw-r--r-- 1 root root   67586 Dec 21 13:32 rabbitmq_aws-3.7.1.ez
-rw-r--r-- 1 root root   19055 Dec 21 13:32 rabbitmq_consistent_hash_exchange-3.7.1.ez
-rw-r--r-- 1 root root   16027 Dec 21 13:32 rabbitmq_event_exchange-3.7.1.ez
-rw-r--r-- 1 root root  236902 Dec 21 13:32 rabbitmq_federation-3.7.1.ez
-rw-r--r-- 1 root root   14430 Dec 21 13:32 rabbitmq_federation_management-3.7.1.ez
-rw-r--r-- 1 root root   27029 Dec 21 13:32 rabbitmq_jms_topic_exchange-3.7.1.ez
-rw-r--r-- 1 root root 1034453 Dec 21 13:32 rabbitmq_management-3.7.1.ez
-rw-r--r-- 1 root root  178890 Dec 21 13:32 rabbitmq_management_agent-3.7.1.ez
-rw-r--r-- 1 root root  156746 Dec 21 13:32 rabbitmq_mqtt-3.7.1.ez
-rw-r--r-- 1 root root   25611 Dec 21 13:32 rabbitmq_peer_discovery_aws-3.7.1.ez
-rw-r--r-- 1 root root   54697 Dec 21 13:32 rabbitmq_peer_discovery_common-3.7.1.ez
-rw-r--r-- 1 root root   50329 Dec 21 13:32 rabbitmq_peer_discovery_consul-3.7.1.ez
-rw-r--r-- 1 root root   33527 Dec 21 13:32 rabbitmq_peer_discovery_etcd-3.7.1.ez
-rw-r--r-- 1 root root   14960 Dec 21 13:32 rabbitmq_peer_discovery_k8s-3.7.1.ez
-rw-r--r-- 1 root root    7689 Dec 21 13:32 rabbitmq_random_exchange-3.7.1.ez
-rw-r--r-- 1 root root   19126 Dec 21 13:32 rabbitmq_recent_history_exchange-3.7.1.ez
-rw-r--r-- 1 root root   49752 Dec 21 13:32 rabbitmq_sharding-3.7.1.ez
-rw-r--r-- 1 root root  177887 Dec 21 13:32 rabbitmq_shovel-3.7.1.ez
-rw-r--r-- 1 root root   23971 Dec 21 13:32 rabbitmq_shovel_management-3.7.1.ez
-rw-r--r-- 1 root root  146079 Dec 21 13:32 rabbitmq_stomp-3.7.1.ez
-rw-r--r-- 1 root root   71960 Dec 21 13:32 rabbitmq_top-3.7.1.ez
-rw-r--r-- 1 root root   61791 Dec 21 13:32 rabbitmq_tracing-3.7.1.ez
-rw-r--r-- 1 root root   71545 Dec 21 13:32 rabbitmq_trust_store-3.7.1.ez
-rw-r--r-- 1 root root   44551 Dec 21 13:32 rabbitmq_web_dispatch-3.7.1.ez
-rw-r--r-- 1 root root   38507 Dec 21 13:32 rabbitmq_web_mqtt-3.7.1.ez
-rw-r--r-- 1 root root   66307 Dec 21 13:32 rabbitmq_web_mqtt_examples-3.7.1.ez
-rw-r--r-- 1 root root   52653 Dec 21 13:32 rabbitmq_web_stomp-3.7.1.ez
-rw-r--r-- 1 root root   51995 Dec 21 13:32 rabbitmq_web_stomp_examples-3.7.1.ez
-rw-r--r-- 1 root root   56786 Dec 21 13:32 ranch-1.4.0.ez
-rw-r--r-- 1 root root   35381 Dec 21 13:32 ranch_proxy_protocol-1.4.4.ez
-rw-r--r-- 1 root root      59 Dec 21 13:32 README
-rw-r--r-- 1 root root   55901 Dec 21 13:32 recon-2.3.2.ez
deadtrickster commented 6 years ago

But metrics work? I noticed that startup message shows less "loaded plugins" count. Maybe they now don't include deps in the list?

oneiros-de commented 6 years ago

There are metrics and they look quite complete, yes.

deadtrickster commented 6 years ago

can you please look at #34 and try attached (https://github.com/deadtrickster/prometheus_rabbitmq_exporter/files/1610253/prometheus_rabbitmq_exporter-v3.7.1.1.zip) version that shows more connection states while you are on it?