why is rabbitmq management plugin reports discrepancy in statistics?

135 views Asked by At

I am using rabbitmq server along with celery. I have a queue, to which tasks are published by producers. Tasks are auto-acknowledged. But I am seeing discrepancy in what rabbitmq is reporting. In the Message rates, it's showing that there's no message being acknowledged/published/delivered, since last one minute, but queued messages are dropping continuously.

RabbitMQ Queue

Is this expected behavior ? OR there's something taking place under the hood.

Thanks in advance.

1

There are 1 answers

0
Luke Bakken On

"Queued messages" is a sliding window of the message count in the queue. Notice that the far right of the graph matches the current unacknowledged message count in the queue, about 12K.

The other graph, "Message rates", is the rate of messages per second within a sampling interval.

In short, the two graphs are measuring two very different things - a count, and a rate.

You can read more about RabbitMQ's stats here: link.