diff options
| author | Igor Makunin <[email protected]> | 2022-02-10 16:49:35 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:35 +0300 |
| commit | c617191a3b33c0f5e1be6390361dbe540775d158 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/monlib/metrics/metric.h | |
| parent | f7a438035f19b364b5479caf536990e82b174f38 (diff) | |
Restoring authorship annotation for Igor Makunin <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/metrics/metric.h')
| -rw-r--r-- | library/cpp/monlib/metrics/metric.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/monlib/metrics/metric.h b/library/cpp/monlib/metrics/metric.h index fe97d2b4750..b8ce12d7533 100644 --- a/library/cpp/monlib/metrics/metric.h +++ b/library/cpp/monlib/metrics/metric.h @@ -371,13 +371,13 @@ namespace NMonitoring { } void Accept(TInstant time, IMetricConsumer* consumer) const override { - consumer->OnHistogram(time, TakeSnapshot()); + consumer->OnHistogram(time, TakeSnapshot()); } IHistogramSnapshotPtr TakeSnapshot() const override { - return Collector_->Snapshot(); - } - + return Collector_->Snapshot(); + } + void Reset() override { Collector_->Reset(); } |
