litellm/litellm-proxy-extras/litellm_proxy_extras
yassin e534cd7a59 feat(proxy): roll up failed requests by caller and HTTP status
Adds LiteLLM_DailyRequestErrors, fed from the spend writer with the key, team,
user, model group and the status code the logging callbacks recorded, flushed
like the gateway counters (direct or via Redis with a pod lease). Exposes
GET /gateway/errors/activity (admin-only) returning the edge totals per day
split into 4xx/5xx, failures by status code, and the keys, teams, users and
model groups ranked by failures with their top status code.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-08 16:42:23 +00:00
..
migrations feat(proxy): roll up failed requests by caller and HTTP status 2026-10-08 16:42:23 +00:00
__init__.py install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
_logging.py fix(proxy): honor LITELLM_LOG for uvicorn and proxy extras loggers 2026-09-15 21:55:37 +00:00
migration_lock.py fix(proxy-extras): build the SpendLogs indexes in the migration job instead of in migrations (#43948) 2026-10-01 14:12:22 -07:00
migration_recovery.py fix(proxy-extras): build the SpendLogs indexes in the migration job instead of in migrations (#43948) 2026-10-01 14:12:22 -07:00
prisma_toolchain.py fix(proxy): coordinate v2 migration startup and add container regression CI 2026-09-12 18:24:59 -07:00
py.typed fix(lint): bring basedpyright rule counts back under their budget limits 2026-08-05 10:23:02 -07:00
replica_identity.py fix(proxy-extras): kill the whole Prisma process group when a command times out 2026-09-02 18:29:55 -07:00
request_log_indexes.py fix(proxy-extras): bound the lock waits of the partitioned SpendLogs index build (#44109) 2026-10-01 18:28:50 -07:00
schema.prisma feat(proxy): roll up failed requests by caller and HTTP status 2026-10-08 16:42:23 +00:00
utils.py fix(proxy-extras): log v1 migration failures at ERROR so LITELLM_LOG=ERROR shows them (#44202) 2026-10-03 22:45:16 -07:00