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
pub fn metrics(meter: impl Into<Metrics>) -> Metrics
Constructs a Metrics
handler from a &'static str
, [Meter
], or [&Meter
][Meter].
Alias for Metrics::new
and Metrics::from