Skip to main content

install_metrics

Function install_metrics 

Source
pub fn install_metrics() -> bool
Expand description

Install the global Prometheus recorder. No-op (returns false) unless the metrics feature is enabled. Call once at startup before serving.