Function opentelemetry::global::meter

source ยท
pub fn meter(name: &'static str) -> Meter
Expand description

Creates a named Meter via the currently configured global MeterProvider.

If the name is an empty string, the provider will use a default name.

This is a more convenient way of expressing global::meter_provider().meter(name).