# Sample config for Prometheus. global: scrape_interval: 15s evaluation_interval: 15s external_labels: monitor: 'example' rule_files: # - "first.rules" # - "second.rules" # himself scrape_configs: - job_name: 'prometheus' scrape_interval: 5s scrape_timeout: 5s static_configs: - targets: ['{{ groups['supervision_master'][0] }}:9090'] # PushGateway - job_name: node static_configs: - targets: ['{{ groups['supervision_gateway'][0] }}:9091'] alerting: alertmanagers: - static_configs: - targets: - '{{ groups['supervision_master'][0] }}:9093'