Function trillium_opentelemetry::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