trillium_opentelemetry

Function metrics

Source
pub fn metrics(meter: impl Into<Metrics>) -> Metrics
Expand description

Constructs a Metrics handler from a &'static str, [Meter], or [&Meter][Meter].

Alias for Metrics::new and Metrics::from