|
prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
|
Metric kinds (MetricType) and the OpenMetrics Unit descriptor.
More...
#include <cstdint>#include <string_view>

Go to the source code of this file.
Classes | |
| struct | prom::Unit |
| OpenMetrics unit suffix plus optional dimensional metadata. More... | |
Namespaces | |
| namespace | prom |
Enumerations | |
| enum class | prom::MetricType : std::uint8_t { prom::Counter , prom::Gauge , prom::Histogram , prom::Summary , prom::Untyped , prom::Info , prom::StateSet } |
| The OpenMetrics / Prometheus metric kinds prom understands. More... | |
Functions | |
| constexpr std::string_view | prom::to_string (const MetricType type) noexcept |
Lower-case OpenMetrics spelling of a MetricType (e.g. "counter"). | |
Metric kinds (MetricType) and the OpenMetrics Unit descriptor.