mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
Merge pull request #2367 from BerriAI/litellm_admin_ui_fixes
(feat) admin UI show model avg latency, num requests
This commit is contained in:
commit
4e395bf244
1 changed files with 17 additions and 4 deletions
|
|
@ -208,13 +208,26 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
|
|||
</Table>
|
||||
</Card>
|
||||
<Card>
|
||||
<Title>Model Statistics (Number Requests, Latency)</Title>
|
||||
<Title>Model Statistics (Number Requests)</Title>
|
||||
<BarChart
|
||||
data={modelMetrics}
|
||||
index="model"
|
||||
categories={["num_requests", "avg_latency_seconds"]}
|
||||
colors={["blue", "red"]}
|
||||
yAxisWidth={100}
|
||||
categories={["num_requests"]}
|
||||
colors={["blue"]}
|
||||
yAxisWidth={400}
|
||||
layout="vertical"
|
||||
tickGap={5}
|
||||
/>
|
||||
</Card>
|
||||
<Card>
|
||||
<Title>Model Statistics (Latency)</Title>
|
||||
<BarChart
|
||||
data={modelMetrics}
|
||||
index="model"
|
||||
categories={["avg_latency_seconds"]}
|
||||
colors={["red"]}
|
||||
yAxisWidth={400}
|
||||
layout="vertical"
|
||||
tickGap={5}
|
||||
/>
|
||||
</Card>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue