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
commitc617191a3b33c0f5e1be6390361dbe540775d158 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/monlib/counters/histogram.cpp
parentf7a438035f19b364b5479caf536990e82b174f38 (diff)
downloadydb-c617191a3b33c0f5e1be6390361dbe540775d158.tar.gz
Restoring authorship annotation for Igor Makunin <igor.makunin@gmail.com>. Commit 2 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 41d8a19372..46cf4e6ec8 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();