# M8.5 Prometheus configuration (ADR-0072). Static targets: the region operations # Service of each disposable environment. The scrape target carries the region's # identity as labels (ADR-0066): the exposition itself has no world/region labels. global: scrape_interval: 15s scrape_timeout: 5s evaluation_interval: 15s rule_files: - /etc/prometheus/evo-region.rules.yml alerting: alertmanagers: - static_configs: - targets: [alertmanager:9093] scrape_configs: - job_name: evo-region metrics_path: /metrics # The exposition is at most 8 KiB (ADR-0066); anything larger is refused. body_size_limit: 64KB sample_limit: 64 static_configs: - targets: [evo-region-ops.evolution-dev.svc:9100] labels: {environment: dev, world: "100", region: "1"} - targets: [evo-region-ops.evolution-stage.svc:9100] labels: {environment: stage, world: "200", region: "1"} - job_name: prometheus static_configs: - targets: [localhost:9090] - job_name: alertmanager static_configs: - targets: [alertmanager:9093]