diff options
author | tobo <tobo@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:27 +0300 |
commit | 7fe839092527589b38f014d854c51565b3c1adfa (patch) | |
tree | 309e97022d3530044b712b8f71318c78faf7856e /library/cpp/monlib/metrics/histogram_snapshot.cpp | |
parent | d0d68c395c10da4cb56a1c845504570a04d7893e (diff) | |
download | ydb-7fe839092527589b38f014d854c51565b3c1adfa.tar.gz |
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/metrics/histogram_snapshot.cpp')
-rw-r--r-- | library/cpp/monlib/metrics/histogram_snapshot.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/monlib/metrics/histogram_snapshot.cpp b/library/cpp/monlib/metrics/histogram_snapshot.cpp index 75b5811546..488505b1cc 100644 --- a/library/cpp/monlib/metrics/histogram_snapshot.cpp +++ b/library/cpp/monlib/metrics/histogram_snapshot.cpp @@ -28,25 +28,25 @@ namespace { template <typename TStream> auto& Output(TStream& os, const NMonitoring::IHistogramSnapshot& hist) { - os << TStringBuf("{"); + os << TStringBuf("{"); ui32 i = 0; ui32 count = hist.Count(); if (count > 0) { for (; i < count - 1; ++i) { - os << hist.UpperBound(i) << TStringBuf(": ") << hist.Value(i); - os << TStringBuf(", "); + os << hist.UpperBound(i) << TStringBuf(": ") << hist.Value(i); + os << TStringBuf(", "); } if (hist.UpperBound(i) == Max<NMonitoring::TBucketBound>()) { - os << TStringBuf("inf: ") << hist.Value(i); + os << TStringBuf("inf: ") << hist.Value(i); } else { - os << hist.UpperBound(i) << TStringBuf(": ") << hist.Value(i); + os << hist.UpperBound(i) << TStringBuf(": ") << hist.Value(i); } } - os << TStringBuf("}"); + os << TStringBuf("}"); return os; } |