aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzalyalov <zalyalov@yandex-team.com>2023-05-15 14:54:26 +0300
committerzalyalov <zalyalov@yandex-team.com>2023-05-15 14:54:26 +0300
commit03441e363777436aa0f01f46c579cf9084d1249f (patch)
tree6a384f9ad7a4afc3c034b277b87a48c016729d29
parent45fbde85b1f7b5e5ffcf2de4bd730e22ce160fa3 (diff)
downloadydb-03441e363777436aa0f01f46c579cf9084d1249f.tar.gz
do not group by AU kinds by default on storage page
do not group by kinds by default
-rw-r--r--ydb/core/mind/hive/monitoring.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ydb/core/mind/hive/monitoring.cpp b/ydb/core/mind/hive/monitoring.cpp
index 74d53201363..f9eeab37d1f 100644
--- a/ydb/core/mind/hive/monitoring.cpp
+++ b/ydb/core/mind/hive/monitoring.cpp
@@ -3478,7 +3478,7 @@ class TTxMonEvent_Storage : public TTransactionBase<THive> {
public:
const TActorId Source;
THolder<NMon::TEvRemoteHttpInfo> Event;
- bool Kinds = true;
+ bool Kinds = false;
TTxMonEvent_Storage(const TActorId &source, NMon::TEvRemoteHttpInfo::TPtr& ev, TSelf *hive)
: TBase(hive)
@@ -3534,6 +3534,11 @@ public:
void RenderHTMLPage(IOutputStream &out) {
out << "<script>$('.container').css('width', 'auto');</script>";
+ if (Kinds) {
+ out << "<p><a href=\"?TabletID=" << Self->HiveId << "&page=Storage&kinds=false\">Turn off kinds grouping</a></p>";
+ } else {
+ out << "<p><a href=\"?TabletID=" << Self->HiveId << "&page=Storage&kinds=true\">Turn on kinds grouping</a></p>";
+ }
out << "<table class='table table-sortable'>";
out << "<thead>";
if (Kinds) {