![]() |
LogIt++
Header-only, macro-first C++ logging library
|
Configuration for Prometheus text exposition format output. More...
#include <PrometheusTextFormatConfig.hpp>
Public Attributes | |
| bool | include_help = true |
| Emit HELP lines. | |
| bool | include_type = true |
| Emit TYPE lines. | |
| bool | include_timestamp = false |
| Emit sample timestamps. | |
| std::string | metric_prefix = "logit_" |
| Prefix applied to built-in metric names. | |
| std::vector< PrometheusLabel > | const_labels |
| Labels added to every sample. | |
| bool | include_logger_label = true |
| Add logger label to built-in metrics. | |
| std::string | logger_label_name = "logger" |
| Name of logger label. | |
| bool | include_instance_label = false |
| Add instance label to built-in metrics. | |
| std::string | instance_label_name = "instance" |
| Name of instance label. | |
| std::string | instance_label_value |
| Value of instance label. | |
| bool | include_build_info = true |
| Emit logit_build_info metric. | |
Configuration for Prometheus text exposition format output.
Definition at line 45 of file PrometheusTextFormatConfig.hpp.
| std::vector<PrometheusLabel> logit::PrometheusTextFormatConfig::const_labels |
Labels added to every sample.
Definition at line 50 of file PrometheusTextFormatConfig.hpp.
| bool logit::PrometheusTextFormatConfig::include_build_info = true |
Emit logit_build_info metric.
Definition at line 56 of file PrometheusTextFormatConfig.hpp.
| bool logit::PrometheusTextFormatConfig::include_help = true |
Emit HELP lines.
Definition at line 46 of file PrometheusTextFormatConfig.hpp.
| bool logit::PrometheusTextFormatConfig::include_instance_label = false |
Add instance label to built-in metrics.
Definition at line 53 of file PrometheusTextFormatConfig.hpp.
| bool logit::PrometheusTextFormatConfig::include_logger_label = true |
Add logger label to built-in metrics.
Definition at line 51 of file PrometheusTextFormatConfig.hpp.
| bool logit::PrometheusTextFormatConfig::include_timestamp = false |
Emit sample timestamps.
Definition at line 48 of file PrometheusTextFormatConfig.hpp.
| bool logit::PrometheusTextFormatConfig::include_type = true |
Emit TYPE lines.
Definition at line 47 of file PrometheusTextFormatConfig.hpp.
| std::string logit::PrometheusTextFormatConfig::instance_label_name = "instance" |
Name of instance label.
Definition at line 54 of file PrometheusTextFormatConfig.hpp.
| std::string logit::PrometheusTextFormatConfig::instance_label_value |
Value of instance label.
Definition at line 55 of file PrometheusTextFormatConfig.hpp.
| std::string logit::PrometheusTextFormatConfig::logger_label_name = "logger" |
Name of logger label.
Definition at line 52 of file PrometheusTextFormatConfig.hpp.
| std::string logit::PrometheusTextFormatConfig::metric_prefix = "logit_" |
Prefix applied to built-in metric names.
Definition at line 49 of file PrometheusTextFormatConfig.hpp.