blob: 6c1d3da6805418b243675c742beeff27b3f3110d [file] [log] [blame]
Krzysztof Grobelnyc8e3a642020-10-23 12:29:16 +02001#pragma once
2
3#include <cstdint>
4#include <string>
5
6struct MetricValue
7{
8 std::string id;
9 std::string metadata;
10 double value;
11 uint64_t timestamp;
Szymon Dompkebcf045a2022-09-16 15:23:30 +020012
13 MetricValue(std::string_view idIn, std::string_view metadataIn,
14 double valueIn, uint64_t timestampIn) :
15 id(idIn),
16 metadata(metadataIn), value(valueIn), timestamp(timestampIn)
17 {}
Krzysztof Grobelnyc8e3a642020-10-23 12:29:16 +020018};