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