diff --git a/crates/dagger-sdk/examples/tracing/main.rs b/crates/dagger-sdk/examples/tracing/main.rs index cf697c3..c23f201 100644 --- a/crates/dagger-sdk/examples/tracing/main.rs +++ b/crates/dagger-sdk/examples/tracing/main.rs @@ -1,6 +1,8 @@ +#[cfg(feature = "otel")] use dagger_sdk::HostDirectoryOpts; #[cfg(feature = "otel")] use opentelemetry::global; +#[cfg(feature = "otel")] use tracing::Level; #[cfg(not(feature = "otel"))]