deadtrickster / prometheus_rabbitmq_exporter

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

Incompatible with RabbitMQ 3.6.10 #27

Closed Rotwang closed 7 years ago

Rotwang commented 7 years ago
Error description:
   {could_not_start,rabbitmq_management,
       {undef,
           [{prometheus_http,setup,[],[]},
            {prometheus_rabbitmq_exporter,dispatcher,0,
                [{file,"src/prometheus_rabbitmq_exporter.erl"},{line,12}]},
            {rabbit_mgmt_dispatcher,'-build_dispatcher/1-lc$^2/1-2-',1,
                [{file,"src/rabbit_mgmt_dispatcher.erl"},{line,32}]},
            {rabbit_mgmt_dispatcher,'-build_dispatcher/1-lc$^2/1-2-',1,
                [{file,"src/rabbit_mgmt_dispatcher.erl"},{line,33}]},
            {rabbit_mgmt_dispatcher,build_dispatcher,1,
                [{file,"src/rabbit_mgmt_dispatcher.erl"},{line,32}]},
            {rabbit_mgmt_app,register_context,2,
                [{file,"src/rabbit_mgmt_app.erl"},{line,50}]},
            {rabbit_mgmt_app,start,2,
                [{file,"src/rabbit_mgmt_app.erl"},{line,29}]},
            {application_master,start_it_old,4,
                [{file,"application_master.erl"},{line,273}]}]}}
deadtrickster commented 7 years ago

Hi could you please confirm you have prometheus_http enabled?

Rotwang commented 7 years ago

Hi,

That was fast! Indeed it was the issue. Thank you!

viberan commented 5 years ago

@deadtrickster I've got the very same error message with RabbitMQ 3.6.8 and rabbitmq-3.6.9.1 release. There is no prometheus_http plugin, I can see prometheus_httpd only.

Davidrjx commented 3 years ago

@deadtrickster hi, prometheus_rabbitmq_exporter 3.7.9.1 can be enabled with RabbitMQ 3.7.14, but no metric port is exposed, not sure why?