aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/counters/histogram.cpp
diff options
context:
space:
mode:
authorIgor Makunin <igor.makunin@gmail.com>2022-02-10 16:49:35 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:35 +0300
commitf7a438035f19b364b5479caf536990e82b174f38 (patch)
tree5f15d64d88d75f4cd73740339f36970716572e95 /library/cpp/monlib/counters/histogram.cpp
parent492d4842b42175970fd597869540936bf152ffb1 (diff)
downloadydb-f7a438035f19b364b5479caf536990e82b174f38.tar.gz
Restoring authorship annotation for Igor Makunin <igor.makunin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/counters/histogram.cpp')
-rw-r--r--library/cpp/monlib/counters/histogram.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/monlib/counters/histogram.cpp b/library/cpp/monlib/counters/histogram.cpp
index 46cf4e6ec8..41d8a19372 100644
--- a/library/cpp/monlib/counters/histogram.cpp
+++ b/library/cpp/monlib/counters/histogram.cpp
@@ -12,8 +12,8 @@ namespace NMonitoring {
<< ", 95%: " << Percentile95
<< ", 98%: " << Percentile98
<< ", 99%: " << Percentile99
- << ", 99.9%: " << Percentile999
- << ", count: " << TotalCount;
+ << ", 99.9%: " << Percentile999
+ << ", count: " << TotalCount;
}
void THdrHistogram::TakeSnaphot(THistogramSnapshot* snapshot) {
@@ -30,7 +30,7 @@ namespace NMonitoring {
snapshot->Percentile98 = Data_.GetValueAtPercentile(98.0);
snapshot->Percentile99 = Data_.GetValueAtPercentile(99.0);
snapshot->Percentile999 = Data_.GetValueAtPercentile(99.9);
- snapshot->TotalCount = Data_.GetTotalCount();
+ snapshot->TotalCount = Data_.GetTotalCount();
// cleanup histogram data
Data_.Reset();