Function tacho::new [] [src]

pub fn new() -> (Scope, Reporter)

Creates a metrics registry.

The returned Scope may be you used to instantiate metrics. Labels may be attached to the scope so that all metrics created by this Scope are annotated.

The returned Reporter supports consumption of metrics values.