[rabbitmq-discuss] Monitoring Rabbit MQ deadletter queue and queue counts / rates

Michael Klishin michael.s.klishin at gmail.com
Thu Feb 13 15:39:59 GMT 2014


2014-02-13 19:17 GMT+04:00 Lance Lyons <Lance_Lyons at onlifehealth.com>:

>
> "message_stats":{"ack":8628,"ack_details":{"rate":0.0},"deliver":8628,"deliver_details":{"rate":0.2},"deliver_get":8628,"deliver_get_details":{"rate":0.2},"publish":8628,"publish_details":{"rate":0.0}}
>

Formatted: https://gist.github.com/michaelklishin/b07a72c30e67ecad6908

message_stats.publish_details.rate is what you are after. That said, this
is a *queue* stats
while to get a close enough dead lettering rate, you need a similar rate
metric for the exchange
you specify as DLX (message_stats.publish_in_details.rate).

There is no reference for HTTP API responses but you can get some idea from
structures in
this client:

https://github.com/michaelklishin/rabbit-hole/blob/master/exchanges.go
https://github.com/michaelklishin/rabbit-hole/blob/master/common.go
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140213/e289dd0e/attachment.html>


More information about the rabbitmq-discuss mailing list