aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib
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
commit38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (patch)
tree7570cb7cabf97af7ecb6ffe485e8037d516daa29 /library/cpp/monlib
parenta0ffafe83b7d6229709a32fa942c71d672ac989c (diff)
downloadydb-38b4bd28ca420294f532ac7ca6b2770d60e3dfd0.tar.gz
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib')
-rw-r--r--library/cpp/monlib/dynamic_counters/encode.cpp4
-rw-r--r--library/cpp/monlib/encode/fake/fake.cpp2
-rw-r--r--library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp4
-rw-r--r--library/cpp/monlib/encode/spack/compression.cpp12
-rw-r--r--library/cpp/monlib/encode/text/text_encoder.cpp2
-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
-rw-r--r--library/cpp/monlib/service/auth.cpp2
-rw-r--r--library/cpp/monlib/service/pages/index_mon_page.cpp2
10 files changed, 17 insertions, 17 deletions
diff --git a/library/cpp/monlib/dynamic_counters/encode.cpp b/library/cpp/monlib/dynamic_counters/encode.cpp
index ffa48d276e..265a505fb6 100644
--- a/library/cpp/monlib/dynamic_counters/encode.cpp
+++ b/library/cpp/monlib/dynamic_counters/encode.cpp
@@ -98,9 +98,9 @@ namespace NMonitoring {
THolder<ICountableConsumer> CreateEncoder(IOutputStream* out, EFormat format, TCountableBase::EVisibility vis) {
switch (format) {
case EFormat::JSON:
- return MakeHolder<TConsumer>(NMonitoring::EncoderJson(out), vis);
+ return MakeHolder<TConsumer>(NMonitoring::EncoderJson(out), vis);
case EFormat::SPACK:
- return MakeHolder<TConsumer>(NMonitoring::EncoderSpackV1(
+ return MakeHolder<TConsumer>(NMonitoring::EncoderSpackV1(
out,
NMonitoring::ETimePrecision::SECONDS,
NMonitoring::ECompression::ZSTD), vis);
diff --git a/library/cpp/monlib/encode/fake/fake.cpp b/library/cpp/monlib/encode/fake/fake.cpp
index 69d691361a..6400366235 100644
--- a/library/cpp/monlib/encode/fake/fake.cpp
+++ b/library/cpp/monlib/encode/fake/fake.cpp
@@ -46,6 +46,6 @@ namespace NMonitoring {
};
IMetricEncoderPtr EncoderFake() {
- return MakeHolder<TFakeEncoder>();
+ return MakeHolder<TFakeEncoder>();
}
}
diff --git a/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp b/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp
index 2d11b9d5ba..c272deb676 100644
--- a/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp
+++ b/library/cpp/monlib/encode/protobuf/protobuf_encoder.cpp
@@ -238,11 +238,11 @@ namespace NMonitoring {
}
IMetricEncoderPtr EncoderProtobuf(NProto::TSingleSamplesList* samples) {
- return MakeHolder<TSingleSamplesEncoder>(samples);
+ return MakeHolder<TSingleSamplesEncoder>(samples);
}
IMetricEncoderPtr EncoderProtobuf(NProto::TMultiSamplesList* samples) {
- return MakeHolder<TMultiSamplesEncoder>(samples);
+ return MakeHolder<TMultiSamplesEncoder>(samples);
}
}
diff --git a/library/cpp/monlib/encode/spack/compression.cpp b/library/cpp/monlib/encode/spack/compression.cpp
index 0d2152fc85..52ac65bc86 100644
--- a/library/cpp/monlib/encode/spack/compression.cpp
+++ b/library/cpp/monlib/encode/spack/compression.cpp
@@ -353,11 +353,11 @@ namespace NMonitoring {
case ECompression::IDENTITY:
return nullptr;
case ECompression::ZLIB:
- return MakeHolder<TFramedDecompressStream<TZlibCodec, TAdler32>>(in);
+ return MakeHolder<TFramedDecompressStream<TZlibCodec, TAdler32>>(in);
case ECompression::ZSTD:
- return MakeHolder<TFramedDecompressStream<TZstdCodec, TXxHash32>>(in);
+ return MakeHolder<TFramedDecompressStream<TZstdCodec, TXxHash32>>(in);
case ECompression::LZ4:
- return MakeHolder<TFramedDecompressStream<TLz4Codec, TXxHash32>>(in);
+ return MakeHolder<TFramedDecompressStream<TLz4Codec, TXxHash32>>(in);
case ECompression::UNKNOWN:
return nullptr;
}
@@ -369,11 +369,11 @@ namespace NMonitoring {
case ECompression::IDENTITY:
return nullptr;
case ECompression::ZLIB:
- return MakeHolder<TFramedCompressStream<TZlibCodec, TAdler32>>(out);
+ return MakeHolder<TFramedCompressStream<TZlibCodec, TAdler32>>(out);
case ECompression::ZSTD:
- return MakeHolder<TFramedCompressStream<TZstdCodec, TXxHash32>>(out);
+ return MakeHolder<TFramedCompressStream<TZstdCodec, TXxHash32>>(out);
case ECompression::LZ4:
- return MakeHolder<TFramedCompressStream<TLz4Codec, TXxHash32>>(out);
+ return MakeHolder<TFramedCompressStream<TLz4Codec, TXxHash32>>(out);
case ECompression::UNKNOWN:
return nullptr;
}
diff --git a/library/cpp/monlib/encode/text/text_encoder.cpp b/library/cpp/monlib/encode/text/text_encoder.cpp
index 10336261f0..00b0598e24 100644
--- a/library/cpp/monlib/encode/text/text_encoder.cpp
+++ b/library/cpp/monlib/encode/text/text_encoder.cpp
@@ -220,7 +220,7 @@ namespace NMonitoring {
}
IMetricEncoderPtr EncoderText(IOutputStream* out, bool humanReadableTs) {
- return MakeHolder<TEncoderText>(out, humanReadableTs);
+ return MakeHolder<TEncoderText>(out, humanReadableTs);
}
}
diff --git a/library/cpp/monlib/metrics/fake.cpp b/library/cpp/monlib/metrics/fake.cpp
index b6f5e37af8..6a149a93c3 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 377fc233ef..867846980c 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 f8ad86f3a4..f845f9d386 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);
}
}
diff --git a/library/cpp/monlib/service/auth.cpp b/library/cpp/monlib/service/auth.cpp
index ddabcfbbf7..2a068970ea 100644
--- a/library/cpp/monlib/service/auth.cpp
+++ b/library/cpp/monlib/service/auth.cpp
@@ -15,7 +15,7 @@ namespace {
} // namespace
THolder<IAuthProvider> CreateFakeAuth() {
- return MakeHolder<TFakeAuthProvider>();
+ return MakeHolder<TFakeAuthProvider>();
}
diff --git a/library/cpp/monlib/service/pages/index_mon_page.cpp b/library/cpp/monlib/service/pages/index_mon_page.cpp
index 83ff8b529a..84d36d1be0 100644
--- a/library/cpp/monlib/service/pages/index_mon_page.cpp
+++ b/library/cpp/monlib/service/pages/index_mon_page.cpp
@@ -44,7 +44,7 @@ void TIndexMonPage::Output(IMonHttpRequest& request) {
}
}
if (found) {
- THolder<IMonHttpRequest> child(request.MakeChild(found.Get(), TString{pathInfo}));
+ THolder<IMonHttpRequest> child(request.MakeChild(found.Get(), TString{pathInfo}));
found->Output(*child);
} else {
request.Output() << HTTPNOTFOUND;