Cargo Features
axum-tracing-opentelemetry has no features set by default.
[dependencies]
axum-tracing-opentelemetry = { version = "0.24.1", features = ["tracing_level_info"] }
- tracing_level_info
-
to use level
info
instead oftrace
to create otel spanEnables tracing_level_info of tracing-opentelemetry-instrumentation-sdk