Skip to content

Commit ac3c021

Browse files
db-console: change disk throughput graph titles to omit magnitude
In the metrics page, with the hardware graphs selected, you'll notice that the title of the disk throughput graphs include `MiB`. This is confusing, as the magnitude of the y-axis is programmatically determinted (it will be KiB, or GiB depending on how large the deltas are between time segments). To fix this, we strip the titles of their magnitude, going from MiB/s to simply Bytes/s, so that it's impossible for two prefixes show up in the same view. Fixes: #141003 Epic: none Release note (ui change): Changes the titles of the disk throughput graphs in the hardware metrics page to say only Bytes/s instead of MiB/s.
1 parent 31a5161 commit ac3c021

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default function (props: GraphDashboardProps) {
8585
</LineGraph>,
8686

8787
<LineGraph
88-
title="Disk Read MiB/s"
88+
title="Disk Read Bytes/s"
8989
sources={nodeSources}
9090
tenantSource={tenantSource}
9191
showMetricsInTooltip={true}
@@ -103,7 +103,7 @@ export default function (props: GraphDashboardProps) {
103103
</LineGraph>,
104104

105105
<LineGraph
106-
title="Disk Write MiB/s"
106+
title="Disk Write Bytes/s"
107107
sources={nodeSources}
108108
tenantSource={tenantSource}
109109
showMetricsInTooltip={true}

0 commit comments

Comments
 (0)