Skip to content

Commit

Permalink
fix: update trace attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Sep 27, 2024
1 parent 46abc57 commit 062d1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/otel/tracing/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
Expand Down

0 comments on commit 062d1da

Please sign in to comment.