I to want get and historize queue metrics for the "Enqueued, Dequeued an Size" (Terminology formerly met on ActiveMQ). The moving charts provided in the management plugin are not enough for the monitoring that I need to do.
So with RabbitMQ, I'm getting data from https://rabbitmq-server:15672/api/queues/myvhost
This returns json.. for a queue, I can obtain real life production data like :
"messages":0, // for "Size"
"message_stats":{
"deliver_get":171528, // for "Dequeued"
"ack":162348,
"redeliver":9513,
"deliver_no_ack":0,
"deliver":171528,
"get":0,
"publish":51293 // for "Enqueued"
(...)I'm in particular surprised by the publish counter:
deliver_get is significantly larger than the publish .https://rabbitmq-server:15672/doc/stats.html doesn't give a lot of details that could explain what I actually notice. Also, under the message_stats object that I obtain, I'm missing the some counters like confirm and return which could be related to the enqueuing.
Are there relationships between these metrics ? (like deliver_get + messages = redeliver + publish.. but that one doesn't work with my figures)
Is there another more detailed documentation about these metrics ?

Any clue would be appreciated.
Regards,
Olivier
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/aa82858e-533b-4892-a4ee-06e70d03bef5%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/aa82858e-533b-4892-a4ee-06e70d03bef5%40googlegroups.com.
First of all, I want to be sure about this, because we are assuming it from the definition of each metric, but maybe we are wrong: are published messages the amount of messages that entered the queue and delivered messages the amount of messages that left the queue?
Our end goal is to know programmatically (not by checking the UI) if the delivering (leaving the queue) rate goes up or not after some changes we are doing on our system. We don't want to work with the rates provided by RabbitMQ, we prefer logging the raw total values of messages entering and leaving the queue for us to make the analysis later.
So, we tried to do this, but we found out that the difference between Message Count in two different moments didn't add up to zero when we analyzed Published - Delivered in both moments (with no Redelivered messages in that period of time, we checked it), so we were wondering if any other metric played in this equation, because it seemed we were "losing track" of some messages.