# ============================================================ # Prometheus - Konfiguration # ============================================================ global: scrape_interval: 15s evaluation_interval: 15s scrape_timeout: 10s scrape_configs: # Traefik Metriken - job_name: "traefik" static_configs: - targets: ["traefik:8082"] # Core-Service Metriken (NestJS) - job_name: "core-service" metrics_path: /metrics static_configs: - targets: ["core:3000"] # PostgreSQL Exporter - job_name: "postgres" static_configs: - targets: ["postgres-exporter:9187"] # cAdvisor (Container-Metriken) - job_name: "cadvisor" static_configs: - targets: ["cadvisor:8080"] # Redis (wenn Redis Exporter hinzugefuegt wird) # - job_name: "redis" # static_configs: # - targets: ["redis-exporter:9121"] # Prometheus Self-Monitoring - job_name: "prometheus" static_configs: - targets: ["localhost:9090"]