fix(ui): repoint dead usage guide link to cost tracking docs (#30859)

The "View Usage Guide" button on the legacy Usage page (shown when
DISABLE_EXPENSIVE_DB_QUERIES is set, i.e. SpendLogs has 1M+ rows) linked
to docs/proxy/spending_monitoring, which was removed from the docs and
now returns 404. Point it at docs/proxy/cost_tracking, which is live.

Fixes LIT-2724
This commit is contained in:
yuneng-jiang 2026-06-19 15:31:48 -07:00 • committed by GitHub
parent 4847fa5dd5
commit 60dc8420ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -547,7 +547,7 @@ const UsagePage: React.FC<UsagePageProps> = ({ accessToken, token, userRole, use
Please follow our guide to view usage when SpendLogs has more than 1M rows.
</Text>
<Button className="mt-4">
<a href="https://docs.litellm.ai/docs/proxy/spending_monitoring" target="_blank">
<a href="https://docs.litellm.ai/docs/proxy/cost_tracking" target="_blank">
View Usage Guide
</a>
</Button>