blob: 57a2b68cc68f1db2bcbb8760ffc393cd29ac783a [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 void deinitialize() = 0;
virtual std::vector<MetricValue> getReadings() const = 0;
virtual LabeledMetricParameters dumpConfiguration() const = 0;
};
} // namespace interfaces