Prometheus+Grafana+rabbitmq_prometheus 监控 RabbitMQ

Prometheus Grafana DevOps About 708 words

关于 rabbitmq_prometheus

rabbitmq_prometheusRabbitMQ 3.8.0默认集成的监控插件。

相关文档

https://www.rabbitmq.com/monitoring.html

https://www.rabbitmq.com/prometheus.html

启用监控插件

默认监听15692端口。

rabbitmq-plugins enable rabbitmq_prometheus

rabbitmq_prometheus 默认端口

http://localhost:15692/metrics

修改 Prometheus 配置

prometheus.yml文件中修改。

  - job_name: 'rabbitmq'
    static_configs:
      - targets: ['192.168.0.100:15692']

重启 Prometheus

重启后可查看rabbitmq_prometheus是否上线。

http://localhost:9090/targets

Grafana Dashboard

RabbitMQ-Overview:https://grafana.com/grafana/dashboards/10991

使用到了RabbitMQ 3.9.0新功能的Stream可使用此Dashboard

RabbitMQ-Stream:https://grafana.com/grafana/dashboards/14798

开源地址

https://github.com/rabbitmq/rabbitmq-server

Views: 2,733 · Posted: 2022-02-25

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh