diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/count-graph.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/count-graph.tsx index 149edfc3cf8..e46ed74aa2e 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/count-graph.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/count-graph.tsx @@ -55,7 +55,7 @@ export function CountGraph(props: { data={props.data .sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime()) .map((v) => ({ - time: `${v.date}Z`, + time: v.date, includedCount: Number(v.includedCount) + Number(v.overageCount), rateLimitedCount: Number(v.rateLimitedCount), }))} diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/rate-graph.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/rate-graph.tsx index 3ae3fdfdaa6..f2075ad0752 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/rate-graph.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/usage/rpc/components/rate-graph.tsx @@ -45,7 +45,7 @@ export function RateGraph(props: { data={props.data .sort((a, b) => new Date(a.date).getTime() - new Date(b.date).getTime()) .map((v) => ({ - time: `${v.date}Z`, + time: v.date, averageRate: Number(Number(v.averageRate).toFixed(2)), peakRPS: Number(v.peakRPS), maxLine: props.currentRateLimit,