Skip to content

Commit

Permalink
Add partition status to pq tablet html app (#12144)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshestakov authored Nov 29, 2024
1 parent 3c19645 commit 8edc4ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ydb/core/persqueue/partition_monitoring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ void TPartition::HandleMonitoring(TEvPQ::TEvMonRequest::TPtr& ev, const TActorCo
}

PROPERTIES("Status") {
PROPERTY("Disk", DiskIsFull ? "Full" : "Normal");
PROPERTY("Quota", WaitingForSubDomainQuota(ctx) ? "Out of space" : "Normal");
PROPERTY("State", NKikimrPQ::ETopicPartitionStatus_Name(PartitionConfig->GetStatus()));
PROPERTY("Disk", (DiskIsFull ? "Full" : "Normal"));
PROPERTY("Quota", (WaitingForSubDomainQuota(ctx) ? "Out of space" : "Normal"));
}

PROPERTIES("Information") {
Expand Down

0 comments on commit 8edc4ee

Please sign in to comment.