build_tracer_layer_with_resource

Function build_tracer_layer_with_resource 

Source
pub fn build_tracer_layer_with_resource<S>(
    otel_rsrc: Resource,
) -> Result<(OpenTelemetryLayer<S, Tracer>, SdkTracerProvider), Error>
where S: Subscriber + for<'span> LookupSpan<'span>,
Available on crate feature tracing_subscriber_ext only.