global: scrape_interval: 2s evaluation_interval: 2s rule_files: # - "first_rules.yml" # - "second_rules.yml" scrape_configs: - job_name: 'prometheus' scrape_interval: 2s static_configs: - targets: ['localhost:9090'] - job_name: 'node' scrape_interval: 2s static_configs: - targets: ['node_exporter:9100'] - job_name: 'cadvisor' scrape_interval: 1s static_configs: - targets: ['cadvisor:8080'] - job_name: 'docker' scrape_interval: 1s static_configs: - targets: ['cadvisor:8080'] metrics_path: '/metrics'