blob: 5e7c6df792f211894bd626b7e7ba6faab69528f7 [file] [log] [blame]
Krzysztof Grobelnyc8e3a642020-10-23 12:29:16 +02001#pragma once
2
3#include <cstdint>
4#include <string>
5
6struct MetricValue
7{
Krzysztof Grobelnyc8e3a642020-10-23 12:29:16 +02008 std::string metadata;
9 double value;
10 uint64_t timestamp;
Szymon Dompkebcf045a2022-09-16 15:23:30 +020011
Krzysztof Grobelnycff70c12022-10-27 07:16:08 +000012 MetricValue(std::string_view metadataIn, double valueIn,
13 uint64_t timestampIn) :
14 metadata(metadataIn),
15 value(valueIn), timestamp(timestampIn)
Szymon Dompkebcf045a2022-09-16 15:23:30 +020016 {}
Krzysztof Grobelnyc8e3a642020-10-23 12:29:16 +020017};