Cargo Features
axum-tracing-opentelemetry has no features set by default.
[dependencies]
axum-tracing-opentelemetry = { version = "0.21.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