diff options
| author | kbalakirev <[email protected]> | 2022-02-10 16:48:58 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:58 +0300 | 
| commit | 1906a186042870fd03a12180acd1a6fcee045e42 (patch) | |
| tree | 6cb2ad21897c14f8beca06c9341cb3054952892b /library/cpp/monlib/encode/buffered | |
| parent | 8a7e5c149f1efbd31f0dbbf8f62f368debccb8a9 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/monlib/encode/buffered')
| -rw-r--r-- | library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp | 12 | ||||
| -rw-r--r-- | library/cpp/monlib/encode/buffered/buffered_encoder_base.h | 4 | 
2 files changed, 8 insertions, 8 deletions
| diff --git a/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp b/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp index 87c832d642b..b58d9ff475e 100644 --- a/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp +++ b/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp @@ -132,18 +132,18 @@ void TBufferedEncoderBase::OnHistogram(TInstant time, IHistogramSnapshotPtr s) {      metric.TimeSeries.Add(time, s.Get());  } -void TBufferedEncoderBase::OnSummaryDouble(TInstant time, ISummaryDoubleSnapshotPtr s) { +void TBufferedEncoderBase::OnSummaryDouble(TInstant time, ISummaryDoubleSnapshotPtr s) {       State_.Expect(TEncoderState::EState::METRIC);      TMetric& metric = Metrics_.back();      metric.TimeSeries.Add(time, s.Get()); -} - -void TBufferedEncoderBase::OnLogHistogram(TInstant time, TLogHistogramSnapshotPtr s) { +}  +  +void TBufferedEncoderBase::OnLogHistogram(TInstant time, TLogHistogramSnapshotPtr s) {       State_.Expect(TEncoderState::EState::METRIC);      TMetric& metric = Metrics_.back();      metric.TimeSeries.Add(time, s.Get()); -} - +}  +   TString TBufferedEncoderBase::FormatLabels(const TPooledLabels& labels) const {      auto formattedLabels = TVector<TString>(Reserve(labels.size() + CommonLabels_.size()));      auto addLabel = [&](const TPooledLabel& l) { diff --git a/library/cpp/monlib/encode/buffered/buffered_encoder_base.h b/library/cpp/monlib/encode/buffered/buffered_encoder_base.h index fe3714e58f0..1c717fb2992 100644 --- a/library/cpp/monlib/encode/buffered/buffered_encoder_base.h +++ b/library/cpp/monlib/encode/buffered/buffered_encoder_base.h @@ -34,8 +34,8 @@ public:      void OnUint64(TInstant time, ui64 value) override;      void OnHistogram(TInstant time, IHistogramSnapshotPtr snapshot) override; -    void OnSummaryDouble(TInstant time, ISummaryDoubleSnapshotPtr snapshot) override; -    void OnLogHistogram(TInstant, TLogHistogramSnapshotPtr) override; +    void OnSummaryDouble(TInstant time, ISummaryDoubleSnapshotPtr snapshot) override;  +    void OnLogHistogram(TInstant, TLogHistogramSnapshotPtr) override;   protected:      using TPooledStr = TStringPoolBuilder::TValue; | 
