Function opentelemetry_api::global::meter
source · pub fn meter(name: impl Into<Cow<'static, str>>) -> MeterExpand description
Creates a named Meter via the configured GlobalMeterProvider.
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().versioned_meter(name, None, None, None).