RabbitMQ - Monitoring and ManagementWhich configuration snippet correctly sets Prometheus to scrape RabbitMQ metrics at port 15692?A- job_name: 'rabbitmq' static_configs: - targets: ['localhost:15692']B- job_name: 'rabbitmq' static_configs: - targets: ['localhost:15672']C- job_name: 'rabbitmq' static_configs: - targets: ['localhost:5672']D- job_name: 'rabbitmq' static_configs: - targets: ['localhost:9090']Check Answer
Step-by-Step SolutionSolution:Step 1: Identify RabbitMQ Prometheus metrics portRabbitMQ exposes Prometheus metrics on port 15692 by default.Step 2: Match configuration to correct portOnly - job_name: 'rabbitmq' static_configs: - targets: ['localhost:15692'] uses port 15692 correctly in targets.Final Answer:Job scraping localhost:15692 -> Option AQuick Check:Correct scrape port = 15692 [OK]Quick Trick: Use port 15692 for RabbitMQ Prometheus metrics [OK]Common Mistakes:MISTAKESUsing management port 15672 insteadUsing AMQP port 5672Using Prometheus default port 9090
Master "Monitoring and Management" in RabbitMQ9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More RabbitMQ Quizzes Clustering - Why clustering provides high availability - Quiz 2easy Clustering - Cluster node types (disc, RAM) - Quiz 4medium Clustering - Mirrored queues for redundancy - Quiz 13medium Clustering - Mirrored queues for redundancy - Quiz 9hard Monitoring and Management - Key metrics to monitor - Quiz 4medium Monitoring and Management - Log analysis and troubleshooting - Quiz 7medium Monitoring and Management - Alerting on queue depth and consumer lag - Quiz 1easy Performance Tuning - Flow control mechanism - Quiz 10hard Security and Operations - Authentication backends (LDAP, OAuth) - Quiz 3easy Security and Operations - Backup and restore strategies - Quiz 6medium