prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
Loading...
Searching...
No Matches
fwd.hpp
Go to the documentation of this file.
1#pragma once
2
9
10#include <memory>
11
12namespace prom {
13
14class Adapter;
15class AdapterSource;
16class MetricState;
17class NullAdapter;
18class Registry;
19struct MetricInfo;
20
21template <class Derived>
22class MetricBase;
23
24class Counter;
25class Gauge;
26class Histogram;
27class Summary;
28class Untyped;
29class Info;
30class StateSet;
31
34using MetricHandle = std::shared_ptr<MetricState>;
35
38using AdapterPtr = std::shared_ptr<Adapter>;
39
40} // namespace prom
Definition adapter.hpp:24
@ Summary
Quantile summary of observations.
@ Info
Static key/value metadata (exposed as *_info).
@ Untyped
A bare value with no semantic constraints.
@ Counter
Monotonically increasing cumulative value.
@ Gauge
Value that can go up and down.
@ StateSet
A set of mutually-related boolean states.
@ Histogram
Bucketed distribution of observations.
std::shared_ptr< Adapter > AdapterPtr
Shared ownership of an Adapter.
Definition fwd.hpp:38
std::shared_ptr< MetricState > MetricHandle
Opaque, backend-owned handle to a registered metric family or a labeled child series.
Definition fwd.hpp:34