aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinmukhammed <dinmukhammed@yandex-team.ru>2022-03-09 11:34:38 +0300
committerdinmukhammed <dinmukhammed@yandex-team.ru>2022-03-09 11:34:38 +0300
commit09880d69c5cb398a876df715ef2dba8cc31940da (patch)
treeb8ec3862acf0e77c0351e5e3f7e85d34eefd6b62
parent739de717af903027269f1affb168568b6b20bc67 (diff)
downloadydb-09880d69c5cb398a876df715ef2dba8cc31940da.tar.gz
YQ-858 Fixed naming for service uptime metric
Fixed naming for uptime metric (root) ref:04d46e574d81fdaf75e4959dd0a4995d59cc089c
-rw-r--r--ydb/library/yql/providers/common/metrics/service_counters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/providers/common/metrics/service_counters.cpp b/ydb/library/yql/providers/common/metrics/service_counters.cpp
index 57cc577cb42..346fdcd8640 100644
--- a/ydb/library/yql/providers/common/metrics/service_counters.cpp
+++ b/ydb/library/yql/providers/common/metrics/service_counters.cpp
@@ -35,7 +35,7 @@ TServiceCounters::TServiceCounters(
void TServiceCounters::InitUptimeCounter() {
UptimePublicCounter = PublicCounters->GetNamedCounter("name", "query.uptime_seconds", false);
- UptimeRootCounter = RootCounters->GetNamedCounter("name", "uptime_seconds", false);
+ UptimeRootCounter = RootCounters->GetNamedCounter("sensor", "UptimeSeconds", false);
}
void TServiceCounters::SetUptimePublicAndServiceCounter(i64 val) const {