Skip to main content
InterviewHubPRO
Section Overview
Q33

Question 33 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

66%
RabbitMQ & AMQP (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Observability & Alerting with Prometheus and OpenTelemetry.

senior LevelSystem Design

In Simple Words: Enable the native rabbitmq_prometheus plugin (port 15692) and scrape metrics into Prometheus:

  • rabbitmq_queue_messages_ready: Critical alert if $> 10,000$ for $> 5\text{ minutes}$.
  • rabbitmq_queue_messages_unacked: Alerts if consumers are stalled or failing to ack.
  • rabbitmq_erlang_processes_used / rabbitmq_erlang_processes_limit: Alerts if approaching Erlang capacity.
  • rabbitmq_alarms_memory_used_watermark_status: PagerDuty alert if memory alarm trips.