2#ifndef LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_LOGGERS_PROMETHEUS_PROMETHEUSTEXTFORMATCONFIG_HPP_INCLUDED
3#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_LOGGERS_PROMETHEUS_PROMETHEUSTEXTFORMATCONFIG_HPP_INCLUDED
The primary namespace for the LogIt++ library.
PrometheusMetricType
Prometheus metric type identifiers.
A single Prometheus label key-value pair.
std::string value
Label value.
std::string name
Label name.
A group of related samples sharing a name, help, and type.
std::vector< PrometheusSample > samples
Samples in this family.
std::string help
HELP text.
std::string name
Metric family name.
PrometheusMetricType type
Metric type.
A single metric sample with optional labels and timestamp.
std::string name
Full metric name (including suffixes).
std::vector< PrometheusLabel > labels
Labels for this sample.
double value
Sample value.
int64_t timestamp_ms
Timestamp in ms; 0 = omit.
Configuration for Prometheus text exposition format output.
std::string logger_label_name
Name of logger label.
bool include_build_info
Emit logit_build_info metric.
bool include_timestamp
Emit sample timestamps.
std::string instance_label_value
Value of instance label.
bool include_instance_label
Add instance label to built-in metrics.
std::string instance_label_name
Name of instance label.
bool include_help
Emit HELP lines.
bool include_logger_label
Add logger label to built-in metrics.
bool include_type
Emit TYPE lines.
std::vector< PrometheusLabel > const_labels
Labels added to every sample.
std::string metric_prefix
Prefix applied to built-in metric names.