diff --git a/datasets/src/main.rs b/datasets/src/main.rs index c50eb9b..c5f3126 100644 --- a/datasets/src/main.rs +++ b/datasets/src/main.rs @@ -118,6 +118,9 @@ fn setup_telemetry( ), ]); let (metrics_layer, tracing_layer) = if let Some(otel_collector_url) = otel_collector_url { + opentelemetry::global::set_text_map_propagator( + opentelemetry_sdk::propagation::TraceContextPropagator::default(), + ); ( Some(tracing_opentelemetry::MetricsLayer::new( opentelemetry_otlp::new_pipeline()