global: scrape_interval: 30s evaluation_interval: 30s # Attach these labels to any time series or alerts when communicating with # external systems (federation, remote storage, Alertmanager). external_labels: monitor: 'prom' # Load and evaluate rules in this file every 'evaluation_interval' seconds. rule_files: - 'alerts/*.rules' # alert alerting: alertmanagers: - scheme: http static_configs: - targets: - "alertmanager:9093" scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] - job_name: 'alertmanager' static_configs: - targets: ['alertmanager:9093'] - job_name: 'grafana' static_configs: - targets: ['grafana:3000'] - job_name: 'cadvisor' static_configs: - targets: ['cadvisor:8080'] - job_name: 'node-exporter' static_configs: - targets: ['node-exporter:9100']