diff --git a/crates/utils/src/tracing.rs b/crates/utils/src/tracing.rs index 36f2c7d28..c4cd18721 100644 --- a/crates/utils/src/tracing.rs +++ b/crates/utils/src/tracing.rs @@ -117,7 +117,7 @@ mod test { let provider = opentelemetry_otlp::new_pipeline() .tracing() .with_exporter(otlp_exporter) - .install_simple()?; + .install_batch(opentelemetry_sdk::runtime::Tokio)?; global::set_tracer_provider(provider.clone()); let tracer = provider.tracer("xline"); let jaeger_online_layer = tracing_opentelemetry::layer().with_tracer(tracer);