diff --git a/examples/otel/tracing/src/main.rs b/examples/otel/tracing/src/main.rs index 75fec38..fe93e42 100644 --- a/examples/otel/tracing/src/main.rs +++ b/examples/otel/tracing/src/main.rs @@ -33,7 +33,7 @@ async fn main() -> Result<()> { let app = Router::new() .get("/", index) .get("/:username", index) - .with(otel::tracing::Config::new(tracer)); + .with(otel::tracing::Config::new(tracer, None)); if let Err(e) = serve(listener, app).await { println!("{e}");