blob: cbf259b5c7e53c6c5f1926d133263b4b9fafa792 [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) :
Patrick Williamsf535cad2024-08-16 15:21:20 -040014 metadata(metadataIn), value(valueIn), timestamp(timestampIn)
Szymon Dompkebcf045a2022-09-16 15:23:30 +020015 {}
Krzysztof Grobelnyc8e3a642020-10-23 12:29:16 +020016};