Skip to content

Commit d6c75a4

Browse files
atrakhConvex, Inc.
authored andcommitted
dashboard: fix bug where reads and writes were swapped in fn breakdown (#42119)
GitOrigin-RevId: b73066f53acb4dc958e63e3fd9a8f825ff97ffc9
1 parent c763558 commit d6c75a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

npm-packages/dashboard/src/components/billing/TeamUsageByFunctionChart.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const FunctionBreakdownMetricDatabaseBandwidth: FunctionBreakdownMetric =
6161
{
6262
name: "database bandwidth",
6363
getTotal: (row) => row.databaseIngressSize + row.databaseEgressSize,
64-
getValues: (row) => [row.databaseIngressSize, row.databaseEgressSize],
64+
getValues: (row) => [row.databaseEgressSize, row.databaseIngressSize],
6565
quantityType: "storage",
6666
categories: Object.values(BANDWIDTH_CATEGORIES),
6767
};
@@ -76,7 +76,7 @@ export const FunctionBreakdownMetricActionCompute: FunctionBreakdownMetric = {
7676
export const FunctionBreakdownMetricVectorBandwidth: FunctionBreakdownMetric = {
7777
name: "vector bandwidth",
7878
getTotal: (row) => row.vectorIngressSize + row.vectorEgressSize,
79-
getValues: (row) => [row.vectorIngressSize, row.vectorEgressSize],
79+
getValues: (row) => [row.vectorEgressSize, row.vectorIngressSize],
8080
quantityType: "storage",
8181
categories: Object.values(BANDWIDTH_CATEGORIES),
8282
};

0 commit comments

Comments
 (0)