问题描述
我想将rabbitmq
与prometheus
上的docker
集成。
我在rabbitmq
上看到了localhost:15692/metrics
指标,但是在prometheus
中却遇到了这个错误:
获取“ http:// localhost:15692 / metrics”:拨打tcp 127.0.0.1:15692:connect:连接被拒绝
rabbitmq_prometheus
已启用,这是我的prometheus
配置
global:
scrape_interval: 13s
evaluation_interval: 12s
rule_files:
scrape_configs:
from this config.
- job_name: 'prometheus-docker'
static_configs:
- targets: ['localhost:9090']
- job_name: 'rabbitmq'
metrics_path: '/metrics'
scrape_interval: 5s
static_configs:
- targets: ['localhost:15692']
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)