forked from phoenix/litellm-mirror
(feat) view spend per key
This commit is contained in:
parent
35f957747b
commit
a6394cd11e
1 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ const ViewKeySpendReport: React.FC<ViewKeySpendReportProps> = ({
|
||||||
<BarChart
|
<BarChart
|
||||||
className="mt-6"
|
className="mt-6"
|
||||||
data={data}
|
data={data}
|
||||||
colors={["green"]}
|
colors={["blue"]}
|
||||||
index="day"
|
index="day"
|
||||||
categories={["spend"]}
|
categories={["spend"]}
|
||||||
yAxisWidth={48}
|
yAxisWidth={48}
|
||||||
|
@ -193,7 +193,7 @@ const ViewKeySpendReport: React.FC<ViewKeySpendReportProps> = ({
|
||||||
<Title className="mt-6">Top 5 Users Spend (USD)</Title>
|
<Title className="mt-6">Top 5 Users Spend (USD)</Title>
|
||||||
<Card className="mb-6">
|
<Card className="mb-6">
|
||||||
{userData && (
|
{userData && (
|
||||||
<BarList className="mt-6" data={userData} color="teal" />
|
<BarList className="mt-6" data={userData} color="blue" />
|
||||||
)}
|
)}
|
||||||
</Card>
|
</Card>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue