# Prometheus Configuration for Cloudflare Mesh Observatory # Scrapes metrics from the custom exporter global: scrape_interval: 60s evaluation_interval: 60s external_labels: monitor: 'cloudflare-mesh' # Alerting configuration alerting: alertmanagers: - static_configs: - targets: - alertmanager:9093 # Rule files - Load all alert rules from the alerts directory rule_files: - /etc/prometheus/alerts/*.yml # Scrape configurations scrape_configs: # Prometheus self-monitoring - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] metrics_path: /metrics scheme: http # Cloudflare metrics exporter - job_name: 'cloudflare' static_configs: - targets: ['metrics-exporter:9100'] metrics_path: /metrics scheme: http scrape_interval: 60s scrape_timeout: 30s honor_labels: true # Optional: Node exporter for host metrics # - job_name: 'node' # static_configs: # - targets: ['node-exporter:9100']