diff options
author | Andrey Fomichev <andrey.fomichev@gmail.com> | 2022-02-10 16:49:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:12 +0300 |
commit | e542cc14db4240643a06bb0dde87ecf361f101ab (patch) | |
tree | 3b03a4b94acd11a4eca042532035806e5fa08ad1 /library/cpp/monlib/dynamic_counters/percentile | |
parent | e2ac73225f30f7fcf7df3cb225cba257f56144c1 (diff) | |
download | ydb-e542cc14db4240643a06bb0dde87ecf361f101ab.tar.gz |
Restoring authorship annotation for Andrey Fomichev <andrey.fomichev@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/dynamic_counters/percentile')
-rw-r--r-- | library/cpp/monlib/dynamic_counters/percentile/percentile_base.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/monlib/dynamic_counters/percentile/percentile_base.h b/library/cpp/monlib/dynamic_counters/percentile/percentile_base.h index d3c825c43d..1500ab4c9a 100644 --- a/library/cpp/monlib/dynamic_counters/percentile/percentile_base.h +++ b/library/cpp/monlib/dynamic_counters/percentile/percentile_base.h @@ -16,20 +16,20 @@ struct TPercentileBase : public TThrRefBase { TPercentiles Percentiles; - void Initialize(const TIntrusivePtr<NMonitoring::TDynamicCounters> &counters, const TVector<float> &thresholds, - TCountableBase::EVisibility visibility = TCountableBase::EVisibility::Public) { + void Initialize(const TIntrusivePtr<NMonitoring::TDynamicCounters> &counters, const TVector<float> &thresholds, + TCountableBase::EVisibility visibility = TCountableBase::EVisibility::Public) { Percentiles.reserve(thresholds.size()); for (size_t i = 0; i < thresholds.size(); ++i) { Percentiles.emplace_back(thresholds[i], - counters->GetNamedCounter("percentile", Sprintf("%.1f", thresholds[i] * 100.f), false, visibility)); + counters->GetNamedCounter("percentile", Sprintf("%.1f", thresholds[i] * 100.f), false, visibility)); } } void Initialize(const TIntrusivePtr<NMonitoring::TDynamicCounters> &counters, TString group, TString subgroup, - TString name, const TVector<float> &thresholds, - TCountableBase::EVisibility visibility = TCountableBase::EVisibility::Public) { + TString name, const TVector<float> &thresholds, + TCountableBase::EVisibility visibility = TCountableBase::EVisibility::Public) { auto subCounters = counters->GetSubgroup(group, subgroup)->GetSubgroup("sensor", name); - Initialize(subCounters, thresholds, visibility); + Initialize(subCounters, thresholds, visibility); } }; |