From 062d1daef7b3d160fc260c9c9c100a5fcd2aa92f Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Fri, 27 Sep 2024 20:00:34 +0800 Subject: [PATCH] fix: update trace attributes --- examples/otel/tracing/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}");