Bird
0
0

You want to combine RabbitMQ queue depth alerting with Prometheus metrics. Which approach is best?

hard📝 Application Q9 of 15
RabbitMQ - Monitoring and Management
You want to combine RabbitMQ queue depth alerting with Prometheus metrics. Which approach is best?
AWrite a custom script to restart RabbitMQ on high queue depth
BUse RabbitMQ Prometheus plugin to export queue metrics and alert in Prometheus
CUse RabbitMQ management UI only for alerts
DManually parse rabbitmqctl output in Prometheus
Step-by-Step Solution
Solution:
  1. Step 1: Identify Prometheus integration method

    RabbitMQ has a Prometheus plugin that exports metrics natively.
  2. Step 2: Use plugin metrics for alerting

    Prometheus can scrape these metrics and trigger alerts based on queue depth or lag.
  3. Final Answer:

    Use RabbitMQ Prometheus plugin to export queue metrics and alert in Prometheus -> Option B
  4. Quick Check:

    Native plugin + Prometheus = best alerting [OK]
Quick Trick: Use RabbitMQ Prometheus plugin for easy metric export [OK]
Common Mistakes:
MISTAKES
  • Parsing rabbitmqctl output manually in Prometheus
  • Relying only on management UI for alerts
  • Restarting RabbitMQ instead of alerting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes