litellm/prometheus.yml
Claude e77c41e28d
feat(docker): split docker-compose UI and gateway into separate services (LIT-2815)
- Replace monolithic `litellm` service with dedicated `ui` (nginx/Next.js,
  port 3000) and `gateway` (uvicorn/FastAPI, port 4000) services, each
  building from their own Dockerfile
- Update prometheus.yml scrape target from `litellm:4000` → `gateway:4000`
- Add litellm/proxy/_experimental/out/ to .gitignore and remove the 680
  committed build artefacts; the UI bundle is now produced inside the
  Docker build, not checked in to source control
- Add tests/test_litellm/test_docker_compose.py with 17 static checks
  covering service presence, build config, ports, env vars, health checks,
  dependencies, and prometheus scrape targets

Resolves LIT-2815

https://claude.ai/code/session_01JVLLUH66aUXF9kxoHcYxWu
2026-05-23 21:44:04 +00:00

7 lines
174 B
YAML

global:
scrape_interval: 15s
scrape_configs:
- job_name: 'litellm'
static_configs:
- targets: ['gateway:4000'] # gateway service exposes metrics at port 4000