encoder.h 325 B

1234567891011121314151617
  1. #pragma once
  2. #include <util/generic/ptr.h>
  3. #include <library/cpp/monlib/metrics/metric_consumer.h>
  4. namespace NMonitoring {
  5. class IMetricEncoder: public IMetricConsumer {
  6. public:
  7. virtual ~IMetricEncoder();
  8. virtual void Close() = 0;
  9. };
  10. using IMetricEncoderPtr = THolder<IMetricEncoder>;
  11. }