diff options
author | Sergey Polovko <sergey@polovko.me> | 2022-02-10 16:47:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:02 +0300 |
commit | 3e0b762a82514bac89c1dd6ea7211e381d8aa248 (patch) | |
tree | c2d1b379ecaf05ca8f11ed0b5da9d1a950e6e554 /library/cpp/monlib/dynamic_counters/encode.h | |
parent | ab3783171cc30e262243a0227c86118f7080c896 (diff) | |
download | ydb-3e0b762a82514bac89c1dd6ea7211e381d8aa248.tar.gz |
Restoring authorship annotation for Sergey Polovko <sergey@polovko.me>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/dynamic_counters/encode.h')
-rw-r--r-- | library/cpp/monlib/dynamic_counters/encode.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/monlib/dynamic_counters/encode.h b/library/cpp/monlib/dynamic_counters/encode.h index c79964d7cb..81e924a034 100644 --- a/library/cpp/monlib/dynamic_counters/encode.h +++ b/library/cpp/monlib/dynamic_counters/encode.h @@ -1,23 +1,23 @@ -#pragma once - -#include "counters.h" - +#pragma once + +#include "counters.h" + #include <library/cpp/monlib/encode/encoder.h> -#include <library/cpp/monlib/encode/format.h> - -namespace NMonitoring { - +#include <library/cpp/monlib/encode/format.h> + +namespace NMonitoring { + THolder<ICountableConsumer> CreateEncoder( IOutputStream* out, EFormat format, TCountableBase::EVisibility visibility = TCountableBase::EVisibility::Public ); - + THolder<ICountableConsumer> AsCountableConsumer( NMonitoring::IMetricEncoderPtr encoder, TCountableBase::EVisibility visibility = TCountableBase::EVisibility::Public); - void ToJson(const TDynamicCounters& counters, IOutputStream* out); - - TString ToJson(const TDynamicCounters& counters); -} + void ToJson(const TDynamicCounters& counters, IOutputStream* out); + + TString ToJson(const TDynamicCounters& counters); +} |