litellm/tests/test_litellm/proxy/analytics_endpoints
ryan-crabbe-berri 770bf73a02 feat(ui): chart failed requests as their own series on the cache dashboard
Spend logs for failed requests are stored with an empty call_type, so the
Cache Hits vs API Requests chart lumped them into an Unknown bar that read
as normal LLM API traffic. The activity query now also returns a per-group
failed_rows count (status = 'failure') and the dashboard charts it as a
third stacked series, so failures are visibly separate from successful
requests and cache hits. The chart data transform moves into a pure
summarizeCacheActivity helper with unit tests; header stats keep their
existing semantics (cache hit ratio still counts failures in the
denominator).
2026-07-27 15:36:51 -07:00
..
__init__.py feat(ui): chart failed requests as their own series on the cache dashboard 2026-07-27 15:36:51 -07:00
test_analytics_endpoints.py feat(ui): chart failed requests as their own series on the cache dashboard 2026-07-27 15:36:51 -07:00