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.