deadtrickster / prometheus_rabbitmq_exporter

Prometheus.io exporter as a RabbitMQ Managment Plugin plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incompatible with RabbitMQ 3.6.10

Rotwang opened this issue · comments

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}]}]}}

Hi could you please confirm you have prometheus_http enabled?

Hi,

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

@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.

@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?