# ============================================================================= # Prometheus Configuration — scrapes LiteLLM /metrics # ============================================================================= global: scrape_interval: 15s # how often to scrape targets evaluation_interval: 15s # how often to evaluate rules scrape_timeout: 10s scrape_configs: - job_name: "litellm" static_configs: - targets: ["litellm:4000"] # internal service name + port metrics_path: "/metrics" scrape_interval: 15s - job_name: "prometheus" static_configs: - targets: ["localhost:9090"]