global: scrape_interval: 15s evaluation_interval: 15s rule_files: - "alert_rules.yml" alerting: alertmanagers: - static_configs: - targets: - alertmanager:9093 scrape_configs: # OpenDistillery API metrics - job_name: 'opendistillery-api' static_configs: - targets: ['opendistillery-api:8001'] scrape_interval: 10s metrics_path: /metrics scheme: http # System metrics (node_exporter) - job_name: 'node' static_configs: - targets: ['node-exporter:9100'] # PostgreSQL metrics - job_name: 'postgres' static_configs: - targets: ['postgres-exporter:9187'] # Redis metrics - job_name: 'redis' static_configs: - targets: ['redis-exporter:9121'] # Container metrics (cAdvisor) - job_name: 'cadvisor' static_configs: - targets: ['cadvisor:8080'] # Prometheus itself - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] 