mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
Adds /health/liveliness, /health/liveness and /health/readiness with the Python proxy's bodies, a /metrics endpoint (request count, latency and time to first byte histograms by route, model group and status, in-flight gauge, upstream failures by deployment) and a drain on SIGTERM or SIGINT: readiness turns 503, the listener closes after LITELLM_UNREADY_DELAY_SECONDS and open requests and streams get up to LITELLM_DRAIN_SECONDS (default 900) to finish
71 lines
5.3 KiB
XML
71 lines
5.3 KiB
XML