build_metrics_layer

Function build_metrics_layer 

Source
pub fn build_metrics_layer<S>() -> Result<(MetricsLayer<S, SdkMeterProvider>, SdkMeterProvider), Error>
where S: Subscriber + for<'span> LookupSpan<'span>,
Available on crate features tracing_subscriber_ext and metrics only.