global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: # Scrape Prometheus itself - job_name: "prometheus" static_configs: - targets: ["prometheus:9090"] # Docker hosts (node_exporter on each) - job_name: "docker-hosts" static_configs: - targets: - "172.0.0.199:9100" - "172.0.0.198:9100" - "172.0.0.197:9100" - "172.0.0.196:9100" labels: env: "prod" role: "docker-host"