Skip to content

Commit

Permalink
Return DskUsedBytes metrics (ydb-platform#4196)
Browse files Browse the repository at this point in the history
  • Loading branch information
serbel324 authored May 2, 2024
1 parent 3a7aa37 commit 6dc1fa2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ namespace NKikimr {
VCtx->OutOfSpaceState.UpdateLocalUsedChunks(msg->UsedChunks);
MonGroup.DskTotalBytes() = msg->TotalChunks * PDiskCtx->Dsk->ChunkSize;
MonGroup.DskFreeBytes() = msg->FreeChunks * PDiskCtx->Dsk->ChunkSize;
MonGroup.DskUsedBytes() = msg->UsedChunks * PDiskCtx->Dsk->ChunkSize;
if (msg->NumSlots > 0) {
ui32 timeAvailable = 1'000'000'000 / msg->NumSlots;
CostGroup.DiskTimeAvailableNs() = timeAvailable;
Expand Down

0 comments on commit 6dc1fa2

Please sign in to comment.