global:
scrape_interval: 1m
scrape_timeout: 1m
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets:
- 172.31.20.42:9093
scheme: http
timeout: 10s
api_version: v1
rule_files:
- third_rules.yml
- fourth_rules.yml
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 1m
scrape_timeout: 1m
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
- job_name: node_example
honor_timestamps: true
scrape_interval: 1m
scrape_timeout: 1m
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- 127.0.0.1:9100
- job_name: node_exporter
honor_timestamps: true
scrape_interval: 1m
scrape_timeout: 1m
metrics_path: /metrics
scheme: http
file_sd_configs:
- files:
- conf.d/node*.json
- conf.d/node*.yml
refresh_interval: 5m
- job_name: second_nodes
honor_timestamps: true
scrape_interval: 1m
scrape_timeout: 1m
metrics_path: /metrics
scheme: http
file_sd_configs:
- files:
- conf.d/target*.yml
refresh_interval: 5m
- job_name: win_nodes
honor_timestamps: true
scrape_interval: 1m
scrape_timeout: 1m
metrics_path: /metrics
scheme: http
file_sd_configs:
- files:
- conf.d/windows1.yml
refresh_interval: 5m
普羅米修斯配置文件
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.