build_metrics_layer_with_resource

Function build_metrics_layer_with_resource 

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