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