global: scrape_interval: 20s rule_files: - alerts/*.yml alerting: alertmanagers: - static_configs: - targets: - alertmanager:9093 scrape_config_files: - scrapes/*.yml scrape_configs: - job_name: "prometheus" scrape_interval: 5s static_configs: - targets: [ "localhost:9090" ] - job_name: "alertmanager" scrape_interval: 5s static_configs: - targets: [ "alertmanager:9093" ] - job_name: "node" static_configs: - targets: [ "node-exporter:9100" ] - job_name: "cadvisor" static_configs: - targets: [ "cadvisor:8080" ]