diff options
author | Evgeniy Ivanov <i@eivanov.com> | 2022-04-15 15:51:58 +0300 |
---|---|---|
committer | Evgeniy Ivanov <i@eivanov.com> | 2022-04-15 15:51:58 +0300 |
commit | 798d0697ce54b4160e1e0a164cc88b4124a7c843 (patch) | |
tree | 9517a0b31fa0cb21040ab726f1a755e0baad57bd /library/cpp/monlib/metrics/histogram_collector_linear.cpp | |
parent | bb1523598e756290b6e6888596c13320857d5dab (diff) | |
download | ydb-798d0697ce54b4160e1e0a164cc88b4124a7c843.tar.gz |
KIKIMR-14646: aggregate tablet histograms; avoid overflow in hist buckets
ref:e2fc7b63e94a6f21fc05b425213586bd6c4d0115
Diffstat (limited to 'library/cpp/monlib/metrics/histogram_collector_linear.cpp')
-rw-r--r-- | library/cpp/monlib/metrics/histogram_collector_linear.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/monlib/metrics/histogram_collector_linear.cpp b/library/cpp/monlib/metrics/histogram_collector_linear.cpp index f8ad86f3a4..8342485320 100644 --- a/library/cpp/monlib/metrics/histogram_collector_linear.cpp +++ b/library/cpp/monlib/metrics/histogram_collector_linear.cpp @@ -23,7 +23,7 @@ namespace NMonitoring { { } - void Collect(double value, ui32 count) override { + void Collect(double value, ui64 count) override { ui32 index = Max<ui32>(); if (value <= StartValue_) { index = 0; |