[rabbitmq-discuss] absolute message counts

Simon MacMullen simon at rabbitmq.com
Tue Mar 18 09:39:17 GMT 2014


On 17/03/2014 18:27, Jason McIntosh wrote:
> There's a few other fields
> in there that might provide this information as well.

Yes, look at <thing>.message_stats, where <thing> is exchange, channel, 
queue or overview. This will include (e.g.) 'publish_details' which will 
be derived from the absolute counter, and 'publish', which will be the 
absolute counter itself.

You should be aware that these stats are held in memory by the 
management DB, and so can reset if the DB fails over or is restarted. 
(And before 3.1 they were not monotonic at all.) The seq_id Jason 
mentioned is persistent, but less fine grained.

Cheers, Simon



More information about the rabbitmq-discuss mailing list