deadtrickster / prometheus_rabbitmq_exporter

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

Working well in local docker but not in Kubernetes #84

Closed JamesFyyyah closed 5 years ago

JamesFyyyah commented 5 years ago

My Kubernetes.yaml configuration file :

containers:

Rabbit instance starts well. But api/metrics give me the following response:

"error": "Object Not Found", "reason": "Not Found"

When I use this image for my local docker, it works fine.

Any idea ?

JamesFyyyah commented 5 years ago

In local:

server startup complete; 4 plugins started. rabbitmq_1 | prometheus_rabbitmq_exporter rabbitmq_1 | rabbitmq_management rabbitmq_1 | rabbitmq_web_dispatch rabbitmq_1 | rabbitmq_management_agent

In kub:

Server startup complete; 3 plugins started.

JamesFyyyah commented 5 years ago

On my local docker the plugin in started automatically. Is it possible that I have to do it manually on Kub ? I ask because I sadly don't have access to the kub instance.

JamesFyyyah commented 5 years ago

My bad, the 'enabled_plugins' section in .yaml needed an update:

enabled_plugins: | [prometheus_rabbitmq_exporter, rabbitmq_management].