https://www.zhangbj.com/p/1065.html
rabbitmq_prometheus
是RabbitMQ 3.8.0
默认集成的监控插件。
https://www.rabbitmq.com/monitoring.html
https://www.rabbitmq.com/prometheus.html
默认监听15692
端口。
rabbitmq-plugins enable rabbitmq_prometheus
http://localhost:15692/metrics
prometheus.yml
文件中修改。
- job_name: 'rabbitmq'
static_configs:
- targets: ['192.168.0.100:15692']
重启后可查看rabbitmq_prometheus
是否上线。
RabbitMQ-Overview:https://grafana.com/grafana/dashboards/10991
使用到了RabbitMQ 3.9.0
新功能的Stream
可使用此Dashboard
:
RabbitMQ-Stream:https://grafana.com/grafana/dashboards/14798