deadtrickster / prometheus_rabbitmq_exporter

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

rabbitmq_queue_consumer_utilisation defaults to empty, should default to 0.0 #7

Closed oneiros-de closed 8 years ago

oneiros-de commented 8 years ago

With the last version I get errors by prometheus: text format parsing error in line 1589: expected float as value, got "''"

The offending line is rabbitmq_queue_consumer_utilisation{vhost="hermesmo",queue="rejectedMessagesQueue"} '' The queues haven't got any traffic yet.

deadtrickster commented 8 years ago

Sorry about that! I hope I'll fix it soon.

deadtrickster commented 8 years ago

Hmm so RabbitMQ sets utilization to '' and I render it as NaN now. Please download prometheus_rabbitmq_exporter again. https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-3.6.5.3/prometheus_rabbitmq_exporter-v3.6.5.3.ez

deadtrickster commented 8 years ago

So does it work for you know?

deadtrickster commented 8 years ago

I'm closing this issue. Feel free to reopen if the problem persists.

oneiros-de commented 8 years ago

Thanks, it works now.