prometheus基于文件的服务发现
prometheus基于文件的服务发现prometheus配置文件如下:global:alerting: alertmanagers: - static_configs: - targets:rule_files:scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['192.168.240.88:9100','192.168.240.88:9090']#以下是关键,然后再ta
原创
2021-01-16 19:01:06 ·
557 阅读 ·
0 评论