LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
logit::PrometheusMetricFamily Struct Reference

A group of related samples sharing a name, help, and type. More...

#include <PrometheusTextFormatConfig.hpp>

Public Attributes

std::string name
 Metric family name.
 
std::string help
 HELP text.
 
PrometheusMetricType type = PrometheusMetricType::Untyped
 Metric type.
 
std::vector< PrometheusSample > samples
 Samples in this family.
 

Detailed Description

A group of related samples sharing a name, help, and type.

Definition at line 36 of file PrometheusTextFormatConfig.hpp.

Member Data Documentation

◆ help

std::string logit::PrometheusMetricFamily::help

HELP text.

Definition at line 38 of file PrometheusTextFormatConfig.hpp.

◆ name

std::string logit::PrometheusMetricFamily::name

Metric family name.

Definition at line 37 of file PrometheusTextFormatConfig.hpp.

◆ samples

std::vector<PrometheusSample> logit::PrometheusMetricFamily::samples

Samples in this family.

Definition at line 40 of file PrometheusTextFormatConfig.hpp.

◆ type

PrometheusMetricType logit::PrometheusMetricFamily::type = PrometheusMetricType::Untyped

Metric type.

Definition at line 39 of file PrometheusTextFormatConfig.hpp.


The documentation for this struct was generated from the following file: