Static GLOBAL_REGISTRY

Source
pub static GLOBAL_REGISTRY: LazyLock<RwLock<Registry>>
Expand description

Global registry for all Prometheus metrics.

This registry is shared across all prometheus_metrics! blocks in your application. To register metrics with this registry, use the register_metrics! macro or manually register them using the register method.