Configuration
global:
scrape_interval: 10s
scrape_timeout: 10s
evaluation_interval: 1m
external_labels:
monitor: example
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 5s
scrape_timeout: 5s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- localhost:9090
- job_name: node
honor_timestamps: true
scrape_interval: 10s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- 192.168.1.8:9100
- 192.168.1.2:9100
- 192.168.1.5:9100
- 192.168.1.3:9100
- 192.168.1.7:9100
- 192.168.1.6:9100
- 192.168.1.4:9100
- 192.168.1.11:9100
- 192.168.1.12:9100