diff options
author | Nikolay Shestakov <tesseract@ydb.tech> | 2024-11-29 19:46:48 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-29 14:46:48 +0000 |
commit | 8edc4ee5dc2b45c7c924a069d85c0c3939d0a5fd (patch) | |
tree | ca43445d5029f1e924558bfc81c3fdec3252a2eb | |
parent | 3c196454b33837eeeade9e33515c5293e1a55b66 (diff) | |
download | ydb-8edc4ee5dc2b45c7c924a069d85c0c3939d0a5fd.tar.gz |
Add partition status to pq tablet html app (#12144)
-rw-r--r-- | ydb/core/persqueue/partition_monitoring.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ydb/core/persqueue/partition_monitoring.cpp b/ydb/core/persqueue/partition_monitoring.cpp index 460582d8b8..bdd73cbed6 100644 --- a/ydb/core/persqueue/partition_monitoring.cpp +++ b/ydb/core/persqueue/partition_monitoring.cpp @@ -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") { |