Function substrate_prometheus_endpoint::register

source ยท
pub fn register<T: Clone + Collector + 'static>(
    metric: T,
    registry: &Registry,
) -> Result<T, PrometheusError>