diff --git a/src/tracing/mod.rs b/src/tracing/mod.rs index 54f88504..9bb3ced0 100644 --- a/src/tracing/mod.rs +++ b/src/tracing/mod.rs @@ -3,6 +3,7 @@ use std::str::FromStr; use crate::app::metadata::AppMetadata; #[cfg(feature = "otel")] use convert_case::{Case, Casing}; +#[cfg(feature = "otel")] use opentelemetry::trace::TracerProvider; #[cfg(feature = "otel")] use opentelemetry_otlp::WithExportConfig;