blob: deb3ed6f0dd8f72b90817e72780b863ea7a37589 [file] [log] [blame]
#pragma once
#include "interfaces/types.hpp"
#include "metric_value.hpp"
#include <nlohmann/json.hpp>
#include <vector>
namespace interfaces
{
class Metric
{
public:
virtual ~Metric() = default;
virtual void initialize() = 0;
virtual const MetricValue& getReading() const = 0;
virtual LabeledMetricParameters dumpConfiguration() const = 0;
};
} // namespace interfaces