Complete the code to enable Prometheus metrics plugin in RabbitMQ configuration.
prometheus_metrics = [1]Setting prometheus_metrics = true enables the Prometheus plugin in RabbitMQ.
Complete the command to enable the Prometheus plugin in RabbitMQ.
rabbitmq-plugins [1] rabbitmq_prometheusThe command rabbitmq-plugins enable rabbitmq_prometheus activates the Prometheus plugin.
Fix the error in the Prometheus scrape configuration for RabbitMQ in Prometheus YAML file.
- job_name: 'rabbitmq' static_configs: - targets: ['[1]']
The RabbitMQ Prometheus plugin exposes metrics on port 15692 by default.
Fill both blanks to configure RabbitMQ Prometheus plugin in the RabbitMQ config file.
prometheus = [
{rabbit, [
{loopback_users, []},
[1], true}
]},
[2], [{port, 15692}]}
].The prometheus_metrics option enables metrics, and listeners configures the port.
Fill all three blanks to create a Grafana dashboard data source for Prometheus.
apiVersion: 1 datasources: - name: [1] type: [2] url: [3] access: proxy
Grafana datasource name is 'Prometheus', type is 'prometheus', and URL points to Prometheus server at port 9090.