diff options
author | hor911 <hor911@ydb.tech> | 2023-10-02 12:01:24 +0300 |
---|---|---|
committer | hor911 <hor911@ydb.tech> | 2023-10-02 12:33:54 +0300 |
commit | 89221ca32611ba853f2242314b1090034559aac8 (patch) | |
tree | e76c6a312e707a74c62e20f9a0eb79eb54b81cdf | |
parent | a6afe47d107404d22b8a6c592dccdc913d6130c3 (diff) | |
download | ydb-89221ca32611ba853f2242314b1090034559aac8.tar.gz |
Use Sum (not Count) for sensors
-rw-r--r-- | ydb/library/yql/providers/dq/actors/task_controller_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/providers/dq/actors/task_controller_impl.h b/ydb/library/yql/providers/dq/actors/task_controller_impl.h index bf57db6f142..43fb053e539 100644 --- a/ydb/library/yql/providers/dq/actors/task_controller_impl.h +++ b/ydb/library/yql/providers/dq/actors/task_controller_impl.h @@ -269,7 +269,7 @@ private: for (const auto& [k, v] : stat.Get()) { labels.clear(); if (auto group = GroupForExport(stat, k, taskId, name, labels)) { - *group->GetCounter(name) = v.Count; + *group->GetCounter(name) = v.Sum; if (ServiceCounters.PublicCounters && taskId == 0 && IsAggregatedStage(labels)) { TString publicCounterName; bool isDeriv = false; |