![]() |
LogIt++
Header-only, macro-first C++ logging library
|
A single metric sample with optional labels and timestamp. More...
#include <PrometheusTextFormatConfig.hpp>
Public Attributes | |
| std::string | name |
| Full metric name (including suffixes). | |
| double | value = 0.0 |
| Sample value. | |
| std::vector< PrometheusLabel > | labels |
| Labels for this sample. | |
| int64_t | timestamp_ms = 0 |
| Timestamp in ms; 0 = omit. | |
A single metric sample with optional labels and timestamp.
Definition at line 27 of file PrometheusTextFormatConfig.hpp.
| std::vector<PrometheusLabel> logit::PrometheusSample::labels |
Labels for this sample.
Definition at line 30 of file PrometheusTextFormatConfig.hpp.
| std::string logit::PrometheusSample::name |
Full metric name (including suffixes).
Definition at line 28 of file PrometheusTextFormatConfig.hpp.
| int64_t logit::PrometheusSample::timestamp_ms = 0 |
Timestamp in ms; 0 = omit.
Definition at line 31 of file PrometheusTextFormatConfig.hpp.
| double logit::PrometheusSample::value = 0.0 |
Sample value.
Definition at line 29 of file PrometheusTextFormatConfig.hpp.