aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/encoder.h
blob: a26a133d16bf4760d2e2627893a8a778fec5844b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <util/generic/ptr.h>

#include <library/cpp/monlib/metrics/metric_consumer.h>

namespace NMonitoring {
    class IMetricEncoder: public IMetricConsumer {
    public:
        virtual ~IMetricEncoder();

        virtual void Close() = 0;
    };

    using IMetricEncoderPtr = THolder<IMetricEncoder>;

}