blob: afca8a6577f0aa36e0465e38f1068dde7d21f8ff [file] [log] [blame]
#pragma once
#include "metric_value.hpp"
#include "types/types.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