Skip to content

Commit b36c942

Browse files
committed
Added formatting to CLuste page metrics
1 parent 31dcf49 commit b36c942

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pages/Systems/StorageSection.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ const makeOverallStorageSectionProps = (record: IngestorQueryRecord | null) => {
156156
const activeCompressionRate = calcCompressionRate(storageSize, ingestedSize);
157157

158158
return {
159-
storageSize,
160-
lifetimeIngestedSize,
161-
lifetimeStorageSize,
162-
deletedStorageSize,
163-
ingestedSize,
159+
storageSize: formatBytes(storageSize),
160+
lifetimeIngestedSize: formatBytes(lifetimeIngestedSize),
161+
lifetimeStorageSize: formatBytes(lifetimeStorageSize),
162+
deletedStorageSize: formatBytes(deletedStorageSize),
163+
ingestedSize: formatBytes(ingestedSize),
164164
lifetimeCompressionRate,
165165
activeCompressionRate,
166166
};

0 commit comments

Comments
 (0)