|
prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
|

Files | |
| adapter.hpp | |
The backend boundary: MetricMeta, MetricState/MetricHandle, and the pure-virtual Adapter interface. | |
| composite_adapter.hpp | |
CompositeAdapter — fan one metric out to several backends at once. | |
| counter.hpp | |
Counter — a monotonically increasing cumulative metric, and its designated-initializable CounterSpec. | |
| dimval.hpp | |
Structural bridge to dimval: the DimensionalValue concept, NormalizedValue, and the normalize() overloads. | |
| error.hpp | |
Error model for prom: ErrorCode, Error, expected, Exception. | |
| fwd.hpp | |
Forward declarations and shared_ptr aliases for the prom public API. | |
| gauge.hpp | |
Gauge — a value that can move in both directions, and GaugeSpec. | |
| global.hpp | |
| The process-wide adapter cell and its install/swap semantics. | |
| histogram.hpp | |
Histogram — bucketed observation distribution, and HistogramSpec. | |
| info.hpp | |
Info — static key/value metadata exposed as an *_info series. | |
| labels.hpp | |
Label vocabulary: Label, the sorted/deduped Labels set, name validation, and an std::hash<Labels> specialization. | |
| metric_base.hpp | |
MetricCore (the shared per-series state) and the CRTP MetricBase that gives every metric type value semantics and lazy binding. | |
| null_adapter.hpp | |
NullAdapter — the always-available no-op backend. | |
| prom.hpp | |
| Umbrella header — pulls in the entire prom core API. | |
| registry.hpp | |
Registry — the front door for creating registered metrics. | |
| scope.hpp | |
Scope — a per-library metrics instance with a shared name prefix, default constant labels, and default display metadata. | |
| stateset.hpp | |
StateSet — a set of mutually-related boolean states, and StateSetSpec. | |
| summary.hpp | |
Summary — streaming quantile summary, and SummarySpec. | |
| unit.hpp | |
Metric kinds (MetricType) and the OpenMetrics Unit descriptor. | |
| untyped.hpp | |
Untyped — a bare value with no semantic constraints, and UntypedSpec. | |