Prometheus Client Library for Modern C++
Loading...
Searching...
No Matches
metric_family.h
1#pragma once
2
3#include <string>
4#include <vector>
5
6#include "prometheus/client_metric.h"
7#include "prometheus/detail/core_export.h"
8#include "prometheus/metric_type.h"
9
10namespace prometheus {
11
12struct PROMETHEUS_CPP_CORE_EXPORT MetricFamily {
13 std::string name;
14 std::string help;
15 MetricType type = MetricType::Untyped;
16 std::vector<ClientMetric> metric;
17};
18} // namespace prometheus
Definition metric_family.h:12