I appreciate I may be the only person in the world who cares about this, but every time I try and monitor a RabbitMQ server, I spend time digging through the documentation reminding myself what exactly I have to do. So here goes:
Step 1: Enable the RabbitMQ Management Console
Management Plugin
https://www.rabbitmq.com/management.html
Step 2: Download the CLI to inspect stats in a terminal environment
Management Command Line Tool
https://www.rabbitmq.com/management-cli.html
Step 3: Remind myself of how the HTTP API works
RabbitMQ Management HTTP API
https://raw.githack.com/rabbitmq/rabbitmq-management/rabbitmq_v3_5_0/priv/www/api/index.html
Step 4: Find the secret HTTP stats page (the stats link doesn’t work on the above page)
RabbitMQ Management HTTP Stats
https://raw.githack.com/rabbitmq/rabbitmq-management/rabbitmq_v3_5_0/priv/www/doc/stats.html
That’s it – apart from figuring out how to parse JSON with grep, but that’s another story.