Understanding and optimising RabbitMQ’s behaviour relies heavily on metrics. We’ve taken insights directly from our latest comprehensive w

RabbitMQ Metrics in Action: Real World Use Cases

submited by
Style Pass
2024-05-09 12:00:02

Understanding and optimising RabbitMQ’s behaviour relies heavily on metrics. We’ve taken insights directly from our latest comprehensive white paper on Observability in RabbitMQ to give you a sneak preview into the practical applications of metrics through real-world use cases…

The developers just deployed the new version of the application but it is not working. Seemingly the application is running, but when users try to log in on the website, they are presented with a 500 Internal Server Error, and nothing happens. 

While looking at the Grafana dashboard RabbitMQ Overview, we notice that after the redeployment of the application, the channel churn is not zero, it’s a few channels opened per second:

We also see that before the deployment the channel churn was zero. If we take a look at the RabbitMQ logs, we can immediately see what is the cause of the issue: 

From the logs, we can see that the application is stuck in a reconnect – trying to consume – disconnect loop. The fix for this is to create the queue in some way. In many cases, it’s the responsibility of the application to create it, however in some other cases it may be a configurator tool or the RabbitMQ Administrator. 

Leave a Comment