blob: 50bf5d5bf754cedf185b500f9ea9d18c8b03bbb6 [file] [log] [blame]
#pragma once
#include "metric_value.hpp"
#include <nlohmann/json.hpp>
#include <vector>
namespace interfaces
{
class Metric
{
public:
virtual ~Metric() = default;
virtual const std::vector<MetricValue>& getReadings() const = 0;
virtual nlohmann::json to_json() const = 0;
};
} // namespace interfaces