Skip to content

Commit 3e8bf52

Browse files
committed
ui: add store disk write bytes to storage dashboard
This patch adds a metric for store disk write bytes in the Storage dashboard. Epic: none Release note: None
1 parent 77b21df commit 3e8bf52

File tree

1 file changed

+25
-0
lines changed
  • pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards

1 file changed

+25
-0
lines changed

pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeGraphs/dashboards/storage.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,5 +466,30 @@ export default function (props: GraphDashboardProps) {
466466
)}
467467
</Axis>
468468
</LineGraph>,
469+
470+
<LineGraph
471+
title="Store Disk Write Bytes/s"
472+
sources={storeSources}
473+
isKvGraph={true}
474+
tenantSource={tenantSource}
475+
tooltip={
476+
<div>
477+
The number of bytes written to the store's disk per second{" "}
478+
{tooltipSelection} (as reported by the OS).
479+
</div>
480+
}
481+
showMetricsInTooltip={true}
482+
>
483+
<Axis units={AxisUnits.Bytes} label="bytes">
484+
{storeMetrics(
485+
{
486+
name: "cr.store.storage.disk.write.bytes",
487+
nonNegativeRate: true,
488+
},
489+
nodeIDs,
490+
storeIDsByNodeID,
491+
)}
492+
</Axis>
493+
</LineGraph>,
469494
];
470495
}

0 commit comments

Comments
 (0)