Skip to content
SeventhState.io
  • Services
    • RabbitMQ
      • Support
      • Training
      • Consultancy
      • RabbitMQ Health Checks
    • Broader Messaging
      • Kafka
      • NATS
      • Pulsar
    • Advisory
      • Queues Vs Streams
      • Architecture Design
      • Migration Services
      • Modernising Systems
      • AI Adoption & Orchestration
  • Products
    • RabbitMQ Plugins
    • Disaster Recovery & Data Salvage
  • Insights
    • Blog
    • Case studies
  • About
    • Our story
    • Meet the team
    • Careers
    • Contact Us

How Do You Monitor RabbitMQ Performance Effectively?

Most teams set up RabbitMQ monitoring by enabling the management plugin and watching the queue list. That works in development. In production it does not, because the management plugin is built for ad-hoc inspection, not for time-series alerting, and because watching queue length without context misses the actual failure modes. Effective monitoring requires a different approach: Prometheus scraping rabbitmq_prometheus, a handful of carefully chosen alerts, and an understanding of which metrics are leading indicators and which are lagging.

This guide covers how to monitor RabbitMQ effectively, which metrics matter, and where to set alerts.

Quick Answer

Effective RabbitMQ monitoring uses the rabbitmq_prometheus plugin scraped by Prometheus, with Grafana dashboards for visualisation. The metrics that matter most are: queue depth (messages_ready, messages_unacknowledged), throughput (publish, deliver, ack rates), consumer state (consumer_capacity, consumer count), broker resources (memory_used, disk_free), connection health (count and churn), and cluster state (partition status). Alert on rate of change and sustained conditions, not on instantaneous absolute values. The management plugin is acceptable for development but should not be the basis of production alerting.

Why Management Plugin Monitoring Is Not Enough

The management plugin maintains an in-memory stats database to power its UI. It works well for development and small clusters. In production it has three significant limitations:

  1. In-memory stats compete with broker memory for the same budget. A heavily loaded cluster spends increasing memory on the stats DB itself.
  2. The system being monitored and the monitoring system are coupled. If the broker is in distress, the management UI is too.
  3. Retention is limited. The stats DB holds hours of data, not weeks. Trend analysis and capacity planning need a real time-series store.

Use the management plugin for ad-hoc inspection. Use Prometheus for monitoring and alerting.

Setting Up Prometheus Monitoring

1. Enable the plugin

rabbitmq-plugins enable rabbitmq_prometheus

The plugin is shipped with RabbitMQ since 3.8 and is enabled automatically by the Kubernetes Operator.

2. Verify the endpoint

curl -s http://localhost:15692/metrics | head

Port 15692 is the default; configurable via prometheus.tcp.port.

3. Scrape every node

Every node in a cluster exposes its own node-specific metrics. Scrape all of them; do not rely on a single node aggregating for the cluster.

# prometheus.yml excerpt
scrape_configs:
  - job_name: rabbitmq
    scrape_interval: 15s
    static_configs:
      – targets:
          – rabbit-1.example:15692
          – rabbit-2.example:15692
          – rabbit-3.example:15692

4. Decide on aggregation mode

The plugin defaults to aggregated metrics. For clusters with many queues, this keeps payload size reasonable. For diagnostics, the /metrics/per-object endpoint returns one series per queue, exchange, and connection; expensive to scrape continuously, useful for spot diagnosis.

5. Import Grafana dashboards

The RabbitMQ team publishes a set of opinionated Grafana dashboards (Overview, Quorum Queues, Streams, etc.). Start with these. Customise after you understand what each panel is showing.

What to Monitor

Queue state

  • rabbitmq_queue_messages_ready (ready for delivery)
  • rabbitmq_queue_messages_unacked (delivered but not acked)
  • rabbitmq_queue_messages_persistent (persistent count)
  • Per-queue message rates (publish, deliver, ack)

These are the most actionable metrics. Sustained growth in ready or unacked is the leading indicator of consumer problems.

Throughput

  • Publish rate
  • Deliver rate
  • Ack rate
  • Redeliver rate

The interesting view is the difference between publish and ack rates over time. Sustained positive imbalance means the queue is growing; sustained negative means the queue is draining.

Consumer state

  • Consumer count per queue
  • consumer_capacity
  • Unacked messages per consumer

A queue with zero consumers and rising ready count is a stalled workload. A queue with consumers at high utilisation and rising ready count is an undersized consumer pool.

Broker resources

  • rabbitmq_process_resident_memory_bytes
  • rabbitmq_disk_space_available_bytes
  • File descriptor usage
  • Erlang process count
  • Erlang run queue

Cross-check broker metrics against host-level metrics (CPU, memory, disk I/O) to identify whether pressure is broker-internal or environmental.

Connection health

  • Total connection count
  • Connection open and close rates (churn)
  • Channel count per connection
  • Heartbeat state

A high connection churn rate is almost always a client bug, not a broker problem.

Cluster state

  • Cluster partition status
  • Node availability
  • Queue leader distribution (for quorum queues)
  • Inter-node network latency

A partition is a serious event; it should fire a high-severity alert immediately.

What to Alert On

Most alert noise comes from alerting on absolute values rather than rate of change or sustained conditions. The goal is alerts that mean something real is happening.

Page-the-on-call alerts

  • Cluster partition detected.
  • Memory or disk alarm active for more than 60 seconds.
  • Cluster node unreachable for more than 60 seconds.
  • Publishing fully blocked across the cluster.

Wake-up-investigate alerts

  • Queue depth growing continuously for 10+ minutes.
  • messages_unacknowledged growing while consumer count is stable.
  • Connection count rising rapidly (likely client churn).
  • Quorum queue redelivery rate approaching x-delivery-limit.

Notice-but-don’t-page alerts

  • File descriptor usage above 80% of limit.
  • Disk free below 30% of allocated.
  • Consumer utilisation at 1.0 on a critical queue (capacity ceiling reached).

What Not to Alert On

  • Absolute queue depth. A queue with 10,000 messages may be normal for one workload and a fire for another. Alert on growth, not absolute value.
  • Brief spikes. Most metrics spike under load. Alerts on instantaneous values produce noise and train responders to ignore them.
  • Per-queue ready count for short-lived queues. Auto-delete or short-TTL queues will appear and disappear; alerts on individual queue names will flap.

Health Checks vs Monitoring

These are different. Monitoring tells you whether the broker is behaving correctly over time. Health checks tell a load balancer or orchestrator whether to route traffic.

For Kubernetes, the RabbitMQ Kubernetes Operator configures a TCP port check on the AMQP port as the readiness probe, and no liveness probe. That is the recommended pattern. Aggressive liveness probes that restart the broker on health-check failure are a common source of self-inflicted outages.

Common Mistakes

Mistake 1: Alerting on the management plugin’s stats

The management plugin’s stats DB is best-effort. Alerts driven from its HTTP API can flap when the broker is under load. Use Prometheus.

Mistake 2: Per-object metrics in production

/metrics/per-object is computationally expensive. On large clusters it can take tens of seconds and produce huge payloads. Use aggregated metrics for continuous scraping; use per-object only for short diagnostic windows.

Mistake 3: Scraping only one node

Every node has its own metrics. Scraping one node misses node-specific data and produces blind spots.

Mistake 4: No alert on partition status

Cluster partitions are silent in the sense that the broker keeps responding. Without an alert, you find out when consumers report missing messages.

Mistake 5: Watching the dashboard instead of alerting

Dashboards are for diagnosis. Alerts are for detection. Teams that rely on visual inspection miss incidents that happen overnight.

Version Notes

  • Some metric names changed in RabbitMQ 4.0. The RabbitMQ Grafana dashboards have been updated accordingly; if you have custom dashboards built against 3.x metric names, audit them before upgrading.
  • The Prometheus plugin is shipped and enabled by default in many distributions from 3.8 onward; on Kubernetes it is enabled by the Operator.
  • AMQP 1.0 metrics are now exposed natively in 4.x without enabling a separate plugin.

Summary Table

ConcernPrimary metricAlert patternWhy
Queue backlogmessages_readySustained growth 10+ minLeading indicator
Stalled consumersmessages_unacknowledgedGrowth while consumer count stableAcks failing
Resource alarmrabbitmq_alarms_memory_used_watermark, rabbitmq_alarms_free_disk_space_watermarkAlarm active >60sPublishers blocked
Cluster partitionpartition statePartition detectedData divergence risk
Connection churnopen/close rateRapid rise in churnLikely client bug
Quorum redeliveryredelivery countsApproaching x-delivery-limitPoison loop

Metrics to Monitor

MetricWhat it tells youSeverity
messages_ready per queueBacklogPage if growing 10+ min
messages_unacknowledged per queueHeld by consumersPage if growing with stable consumers
rabbitmq_process_resident_memory_bytes vs rabbitmq_resident_memory_limit_bytesBroker memory pressurePage if memory alarm fires
rabbitmq_disk_space_available_bytes vs rabbitmq_disk_space_available_limit_bytesFree diskPage if below alarm threshold
Connection countClient healthNotice if rising rapidly
Cluster partitionSplit-brainPage immediately
consumer_capacityConsumer saturationNotice when at 1.0 sustained
Quorum queue leader distributionCluster balanceNotice if heavily skewed

FAQs

Should I use the management plugin or Prometheus for RabbitMQ monitoring?

Prometheus for production monitoring and alerting; management plugin for ad-hoc inspection. The management plugin’s stats database is in-memory, competes with broker memory, and has limited retention. Prometheus stores time-series for trend analysis and alerting.

Which RabbitMQ metrics matter most?

Queue depth (messages_ready, messages_unacknowledged), per-queue rates (publish, deliver, ack), consumer count and utilisation, broker resources (memory, disk), and cluster partition state. Most production incidents show up in one of these before they show up anywhere else.

What is the default port for RabbitMQ Prometheus metrics?

Port 15692, endpoint /metrics. Configurable via prometheus.tcp.port. The aggregated endpoint is what you should scrape continuously; /metrics/per-object is for diagnosis.

Should I scrape every RabbitMQ node?

Yes. Every node exposes its own node-specific metrics. Scraping a single node misses data and produces blind spots. Configure Prometheus to scrape every node in the cluster.

What is the difference between aggregated and per-object metrics?

Aggregated metrics combine values by name (one series for rabbitmq_queue_messages_ready total). Per-object metrics produce one series per queue, exchange, or connection. Per-object is expensive on large clusters and should not be scraped continuously.

When should I be paged for a RabbitMQ issue?

Cluster partition, sustained resource alarm, unreachable node, fully blocked publishing. These are the conditions where every minute of delay matters. Backlog growth and connection churn are wake-up-investigate alerts, not page-immediately.

When to Get Expert Help

“If your RabbitMQ monitoring is noisy, blind, or missing the metrics that actually predict incidents, an observability review can identify which metrics to alert on, where the gaps are, and how to tune dashboards to match your workload. Seventh State reviews your Prometheus and Grafana setup, the alerts you have today, and the incidents you have had recently, then provides a tuned alert package and dashboard set that match how your applications actually use RabbitMQ.”


| Seventh State Team

Like this:

Like Loading…

How can we help?

  • Home
  • RabbitMQ Support
  • Kafka Support
  • NATS Support
  • AI Adoption
  • Architecture Design
  • Migration Services
  • Modernising Systems
  • About Us
  • Privacy Policy
  • Terms of Use

Let’s connect:

contact@seventhstate.io
(+44) 02045725726.

  • LinkedIn
  • GitHub
  • Bluesky



Finsbury Circus House
15 Finsbury Circus
London
EC2M 7EB

Part of Trifork Group

Seventh State is a brand name of Erlang Solutions, a company registered England and Wales (Company no. 03893360)
RabbitMQ® is a registered trademark of Broadcom, Inc. in the US and other countries.

Important! JavaScript files for Stylish Cost Calculator didn't fully load. Most of the time, a cache or JS optimizer plugin causes this.
Support Tier Configurator
Please choose an option !
Please choose an option !
⚠️ RabbitMQ is critical to your business, but you haven’t opted for 24/7 response.
Would you like to revisit this to reduce risk out of hours?
Please choose an option !
22222
Please choose an option !
⚠️ No in-house RabbitMQ team, but limited external support selected.
Consider adding strategic consultancy, especially for upgrades, issue recovery, or best practice guidance.
22222
Please choose an option !
💡 Not sure about some of your answers?
No problem! Anywhere you have selected 'I don't know', our team can help talk you through your options in a no-obligation discovery call.
Optional: Fine tune your configuration
Important! JavaScript files for Stylish Cost Calculator didn't fully load. Most of the time, a cache or JS optimizer plugin causes this.
Add additional context to customise your plan further and enable us to tailor the right support plan for your needs.
Please choose an option !
Please choose an option !
Please choose an option !
Please choose an option !
💡 Based on your selections, we recommend one or more of our 7S-developed RabbitMQ plugins, exclusively for our support customers.
We’ll include these in your recommended package, including plugin support and setup guidance.
Please choose an option !
Please choose an option !
22222
Please choose an option !
Please choose an option !
⚠️ You’re running an older version of RabbitMQ but haven’t selected consultancy support.
Upgrading to 4.x may require changes to clustering, plugin compatibility, and message durability settings. Additional consultancy based support may be required depending on your upgrade plans
Please choose an option !
⚠️ High throughput without high availability may put your system at risk.
Would you like help reviewing your setup?
Please choose an option !
Please choose an option !
💡 Not sure about some of your answers?
No problem! Anywhere you have selected 'I don't know', our team can help talk you through your options in a no-obligation discovery call.
Important! JavaScript files for Stylish Cost Calculator didn't fully load. Most of the time, a cache or JS optimizer plugin causes this.
Your Recommended Level of Support is:
The most appropriate support tier based on your selections will be shown below. Talk to us to tailor your support solution further.
We recommend our Essentials Support Tier.
Based on your selections, this tier looks like the best fit for your current needs. It offers the right mix of support and simplicity for teams who value reliability without overcommitting. You can customise this further to suit your setup below, or, if you'd like, we can schedule a short no-obligation discovery call to explore whether this package fully meets your needs.
Get Started with Essentials
We recommend our Platinum Support Tier.
It looks like the Premium Support Tier may be the right choice based on your configuration. This option is ideal for teams where uptime, responsiveness, and ongoing strategic input are critical. You're welcome to adjust your configuration further below, or book a no-obligation discovery call if you'd like our input on whether this level of support is the most appropriate for your needs.
Get Started with Platinum
We recommend our Standard Plus Support Tier.
Your selections point toward the Standard+ Support Tier being the most appropriate option. This tier is designed for teams with more demanding environments or elevated support expectations. You can tailor this further below, or, we're happy to jump on a call to help assess and refine your setup (no obligation).
Get Started with Standard Plus
We recommend our Standard Support Tier.
Based on your responses, our Standard Support Tier is likely the most suitable for you. It provides dependable coverage and flexibility, ideal for businesses with evolving support needs. You're welcome to continue configuring this on your own, or, if preferred, we can set up a quick no-obligation discovery call to ensure it’s aligned with your priorities.
Get Started with Standard
The price must be at least . Please interact with any of the choices available above.
Where do you want to go?

🟠  Request a RabbitMQ Health Check >
🔵  Take me to the Free 4.0 Self Assessment Tool >
🟣  Explore RabbitMQ Support Packages >
🔴  Talk to us about your Legacy RabbitMQ >
🟢  Talk to us about your Compliance needs >

 

 

Loading Comments...
%d