Skip to content

Commit 42d8347

Browse files
craig[bot]jbowens
andcommitted
Merge #158058
158058: ui: add 'Unreclaimed Disk Space' graph to storage dashboard r=alyshanjahani-crl a=jbowens Add an 'Unreclaimed Disk Space' graph to the storage dashboard showing estimates of common sources of space amplification: - zombie sstables - point tombstone estimated bytes - range tombstone estimated bytes <img width="986" height="428" alt="Screenshot 2025-11-19 at 11 59 44 AM" src="https://github.com/user-attachments/assets/917c9f1c-3b3a-4cb5-9def-441ea47edd44" /> Epic: none Release note: none Co-authored-by: Jackson Owens <[email protected]>
2 parents 032bf32 + d2fe014 commit 42d8347

File tree

1 file changed

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

1 file changed

+39
-0
lines changed

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,45 @@ export default function (props: GraphDashboardProps) {
523523
</Axis>
524524
</LineGraph>,
525525

526+
<LineGraph
527+
title="Unreclaimed Disk Space"
528+
sources={storeSources}
529+
isKvGraph={true}
530+
tenantSource={tenantSource}
531+
tooltip={
532+
<div>
533+
The estimated volume of physical bytes that are obsolete and should
534+
eventually be reclaimed by compactions or other asynchronous
535+
processes.
536+
</div>
537+
}
538+
showMetricsInTooltip={true}
539+
>
540+
<Axis units={AxisUnits.Bytes} label="bytes">
541+
{multipleStoreMetrics(
542+
[
543+
{
544+
prefix: "zombie sstables",
545+
name: "cr.store.storage.sstable.zombie.bytes",
546+
aggregateMax: true,
547+
},
548+
{
549+
prefix: "range deletions",
550+
name: "cr.store.storage.range_deletions.bytes",
551+
aggregateMax: true,
552+
},
553+
{
554+
prefix: "point deletions",
555+
name: "cr.store.storage.point_deletions.bytes",
556+
aggregateMax: true,
557+
},
558+
],
559+
nodeIDs,
560+
storeIDsByNodeID,
561+
)}
562+
</Axis>
563+
</LineGraph>,
564+
526565
<LineGraph
527566
title="Blob File Sizes"
528567
sources={storeSources}

0 commit comments

Comments
 (0)