# Prometheus configuration for Flamenco testing global: scrape_interval: 15s evaluation_interval: 15s # Rules for testing alerts rule_files: # - "test_alerts.yml" # Scrape configurations scrape_configs: # Scrape Prometheus itself for monitoring - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] # Scrape Flamenco Manager metrics - job_name: 'flamenco-manager' static_configs: - targets: ['test-manager:8082'] # pprof port metrics_path: '/debug/vars' scrape_interval: 5s scrape_timeout: 5s # Scrape Go runtime metrics from Manager - job_name: 'flamenco-manager-pprof' static_configs: - targets: ['test-manager:8082'] metrics_path: '/debug/pprof/profile' params: seconds: ['10'] scrape_interval: 30s # PostgreSQL metrics (if using postgres exporter) - job_name: 'postgres' static_configs: - targets: ['test-postgres:5432'] scrape_interval: 30s # System metrics from test containers - job_name: 'node-exporter' static_configs: - targets: - 'test-manager:9100' - 'test-worker-1:9100' - 'test-worker-2:9100' - 'test-worker-3:9100' scrape_interval: 15s # Test-specific alerting rules # alerting: # alertmanagers: # - static_configs: # - targets: # - alertmanager:9093