|
prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
|
The configuration a Scope applies to every metric created through it.
More...
#include <scope.hpp>

Public Attributes | |
| std::string | prefix {} |
Prepended to every metric name (e.g. "foo_"). | |
| Labels | const_labels {} |
| Merged into every metric's constant labels; a metric's own labels win on a name collision. | |
| comms::DisplayInfo | display {} |
| Default display metadata; per-metric display fields override these. | |
The configuration a Scope applies to every metric created through it.
| Labels prom::ScopeConfig::const_labels {} |
Merged into every metric's constant labels; a metric's own labels win on a name collision.
| comms::DisplayInfo prom::ScopeConfig::display {} |
Default display metadata; per-metric display fields override these.
| std::string prom::ScopeConfig::prefix {} |
Prepended to every metric name (e.g. "foo_").