File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ function getPDiskInfo<T extends PreparedPDisk>({
4141 SerialNumber,
4242 TotalSize,
4343 AllocatedSize,
44+ AllocatedPercent,
4445 StatusV2,
4546 NumActiveSlots,
4647 ExpectedSlotCount,
@@ -109,6 +110,12 @@ function getPDiskInfo<T extends PreparedPDisk>({
109110 />
110111 ) ,
111112 } ) ;
113+ if ( ! isNaN ( Number ( AllocatedPercent ) ) ) {
114+ spaceInfo . push ( {
115+ label : pDiskInfoKeyset ( 'usage' ) ,
116+ value : `${ AllocatedPercent } %` ,
117+ } ) ;
118+ }
112119 if ( valueIsDefined ( NumActiveSlots ) && valueIsDefined ( ExpectedSlotCount ) ) {
113120 spaceInfo . push ( {
114121 label : pDiskInfoKeyset ( 'slots' ) ,
Original file line number Diff line number Diff line change 1111 "realtime" : " Realtime" ,
1212
1313 "space" : " Space" ,
14+ "usage" : " Usage" ,
1415 "slots" : " Slots" ,
1516 "log-size" : " Log Size" ,
1617 "system-size" : " System Size" ,
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export function VDiskInfo<T extends PreparedVDisk>({
5050 const {
5151 AllocatedSize,
5252 SizeLimit,
53+ AllocatedPercent,
5354 DiskSpace,
5455 FrontQueues,
5556 Guid,
@@ -97,6 +98,13 @@ export function VDiskInfo<T extends PreparedVDisk>({
9798 ) ,
9899 } ) ;
99100 }
101+ if ( ! isNaN ( Number ( AllocatedPercent ) ) ) {
102+ leftColumn . push ( {
103+ label : vDiskInfoKeyset ( 'usage' ) ,
104+ value : `${ AllocatedPercent } %` ,
105+ } ) ;
106+ }
107+
100108 if ( ! isNil ( DiskSpace ) ) {
101109 leftColumn . push ( {
102110 label : vDiskInfoKeyset ( 'space-status' ) ,
Original file line number Diff line number Diff line change 2222 "has-unreadable-blobs" : " Has Unreadable Blobs" ,
2323
2424 "size" : " Size" ,
25+ "usage" : " Usage" ,
2526
2627 "read-throughput" : " Read Throughput" ,
2728 "write-throughput" : " Write Throughput" ,
You can’t perform that action at this time.
0 commit comments