prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
Loading...
Searching...
No Matches
Namespaces | Typedefs
fwd.hpp File Reference

Forward declarations and shared_ptr aliases for the prom public API. More...

#include <memory>
Include dependency graph for fwd.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  prom
 

Typedefs

using prom::MetricHandle = std::shared_ptr< MetricState >
 Opaque, backend-owned handle to a registered metric family or a labeled child series.
 
using prom::AdapterPtr = std::shared_ptr< Adapter >
 Shared ownership of an Adapter.
 

Detailed Description

Forward declarations and shared_ptr aliases for the prom public API.

Pull this in when you only need to name a prom type (e.g. in a header that stores a prom::AdapterPtr) without paying for the full definitions. The umbrella <prom/prom.hpp> includes everything.