diff --git a/ui/litellm-dashboard/src/components/usage.tsx b/ui/litellm-dashboard/src/components/usage.tsx index 6e298a76e..6f03c2960 100644 --- a/ui/litellm-dashboard/src/components/usage.tsx +++ b/ui/litellm-dashboard/src/components/usage.tsx @@ -161,7 +161,7 @@ const UsagePage: React.FC = ({ } let top_tags = await tagsSpendLogsCall(accessToken, startTime.toISOString(), endTime.toISOString()); - setTopTagsData(top_tags.top_10_tags); + setTopTagsData(top_tags.spend_per_tag); console.log("Tag spend data updated successfully"); @@ -232,7 +232,7 @@ const UsagePage: React.FC = ({ //get top tags const top_tags = await tagsSpendLogsCall(accessToken, dateValue.from?.toISOString(), dateValue.to?.toISOString()); - setTopTagsData(top_tags.top_10_tags); + setTopTagsData(top_tags.spend_per_tag); // get spend per end-user let spend_user_call = await adminTopEndUsersCall(accessToken, null, undefined, undefined); @@ -483,36 +483,17 @@ const UsagePage: React.FC = ({ /> - Spend Per Tag - Last 30 Days - Get Started Tracking cost per tag here - - - - Tag - Spend - Requests - - - - {topTagsData.map((tag) => ( - - {tag.name} - {tag.value} - {tag.log_count} - - ))} - -
- {/* */} + Spend Per Tag + Get Started Tracking cost per tag here + + +