Skip to content

docs(proxy): document gateway request counts - #768

Merged
yassin-berriai merged 1 commit into
mainfrom
litellm_sgr_gateway_requests_docs
Aug 14, 2026
Merged

docs(proxy): document gateway request counts#768
yassin-berriai merged 1 commit into
mainfrom
litellm_sgr_gateway_requests_docs

Conversation

@yassin-berriai

Copy link
Copy Markdown
Contributor

TLDR

Documents the gateway request counts that BerriAI/litellm#35717 adds

The Successful Requests and Failed Requests tiles on the Usage page, and the new Gateway Requests by Endpoint chart, are now counted by the proxy's request-metrics middleware at the ASGI edge instead of being derived from spend logs. That changes what the number means, and it deliberately does not tie out against the per-key and per-model breakdowns on the same page, so the difference is worth writing down rather than leaving people to discover it

Three pages change. endpoint_activity.md gets a "Gateway Request Counts" section covering what is counted, the flush behaviour, why the number disagrees with the spend rollups, and the /gateway/daily/activity endpoint with a curl and a response shape. cost_tracking.md gets a note on /user/daily/activity pointing at the new endpoint for callers who want gateway counts. db_info.md gets the LiteLLM_DailyGatewayRequests row in the table listing

Merge order

Merge after BerriAI/litellm#35717, which ships the endpoint and the table this describes

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Aug 5, 2026 5:59pm

Request Review

@yassin-berriai
yassin-berriai force-pushed the litellm_sgr_gateway_requests_docs branch from e5b65a9 to dc68a49 Compare August 5, 2026 17:55
@yassin-berriai
yassin-berriai merged commit 255c7c7 into main Aug 14, 2026
2 checks passed
@yassin-berriai
yassin-berriai deleted the litellm_sgr_gateway_requests_docs branch August 14, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant