aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Shestakov <tesseract@ydb.tech>2024-11-29 19:46:48 +0500
committerGitHub <noreply@github.com>2024-11-29 14:46:48 +0000
commit8edc4ee5dc2b45c7c924a069d85c0c3939d0a5fd (patch)
treeca43445d5029f1e924558bfc81c3fdec3252a2eb
parent3c196454b33837eeeade9e33515c5293e1a55b66 (diff)
downloadydb-8edc4ee5dc2b45c7c924a069d85c0c3939d0a5fd.tar.gz
Add partition status to pq tablet html app (#12144)
-rw-r--r--ydb/core/persqueue/partition_monitoring.cpp5
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") {