build(docker-compose.yml): add prometheus scraper to docker compose

persists prometheus data across restarts
This commit is contained in:
Krrish Dholakia 2024-07-24 10:08:25 -07:00
parent ac7f6598f3
commit d9539e518e
3 changed files with 72 additions and 2 deletions

7
prometheus.yml Normal file
View file

@ -0,0 +1,7 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'litellm'
static_configs:
- targets: ['litellm:4000'] # Assuming Litellm exposes metrics at port 4000