Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| README.md | 3 years ago | |
| rabbitmq.png | 3 years ago | |
使用categraf中inputs.prometheus插件采集RabbitMQ默认暴露的指标数据:
初始化好集群后,使用rabbitmq-plugins enable rabbitmq_prometheus命令开启集群默认暴露Prometheus指标,配置测试版本为3.8.19,理论上版本大于3.8+的版本都可以使用。
# conf/input.prometheus/prometheus.toml
[[instances]]
urls = [
"http://192.168.x.11:15692/metrics",
"http://192.168.x.12:15692/metrics"
]
url_label_key = "instance"
url_label_value = "{{.Host}}"
labels = {service="rabbitmq-cluster"}
类似 Grafana 可接入多种数据源,Grafana 擅长可视化,夜莺擅长告警管理
Go SQL Text Python PLSQL other