aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/metrics
diff options
context:
space:
mode:
authortimestep <timestep@yandex-team.ru>2022-02-10 16:49:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:17 +0300
commit30f4921b0fa8722e5531e72cb40a93b526f6973a (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/monlib/metrics
parent38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (diff)
downloadydb-30f4921b0fa8722e5531e72cb40a93b526f6973a.tar.gz
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/metrics')
-rw-r--r--library/cpp/monlib/metrics/fake.cpp2
-rw-r--r--library/cpp/monlib/metrics/histogram_collector_explicit.cpp2
-rw-r--r--library/cpp/monlib/metrics/histogram_collector_linear.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/monlib/metrics/fake.cpp b/library/cpp/monlib/metrics/fake.cpp
index 6a149a93c3..b6f5e37af8 100644
--- a/library/cpp/monlib/metrics/fake.cpp
+++ b/library/cpp/monlib/metrics/fake.cpp
@@ -84,7 +84,7 @@ namespace NMonitoring {
{
TWriteGuard g{Lock_};
- IMetricPtr metric = MakeHolder<TMetric>(std::forward<Args>(args)...);
+ IMetricPtr metric = MakeHolder<TMetric>(std::forward<Args>(args)...);
// decltype(Metrics_)::iterator breaks build on windows
THashMap<ILabelsPtr, IMetricPtr>::iterator it;
diff --git a/library/cpp/monlib/metrics/histogram_collector_explicit.cpp b/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
index 867846980c..377fc233ef 100644
--- a/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
+++ b/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
@@ -50,6 +50,6 @@ namespace NMonitoring {
Y_ENSURE(IsSorted(bounds.begin(), bounds.end()),
"bounds for explicit histogram must be sorted");
- return MakeHolder<TExplicitHistogramCollector>(bounds);
+ return MakeHolder<TExplicitHistogramCollector>(bounds);
}
}
diff --git a/library/cpp/monlib/metrics/histogram_collector_linear.cpp b/library/cpp/monlib/metrics/histogram_collector_linear.cpp
index f845f9d386..f8ad86f3a4 100644
--- a/library/cpp/monlib/metrics/histogram_collector_linear.cpp
+++ b/library/cpp/monlib/metrics/histogram_collector_linear.cpp
@@ -62,6 +62,6 @@ namespace NMonitoring {
<< ", but got: " << bucketsCount);
Y_ENSURE(bucketWidth >= 1, "bucketWidth must be >= 1, got: " << bucketWidth);
- return MakeHolder<TLinearHistogramCollector>(bucketsCount, startValue, bucketWidth);
+ return MakeHolder<TLinearHistogramCollector>(bucketsCount, startValue, bucketWidth);
}
}