From 6c157509db29b7440e28fc0b80c45bab18948a19 Mon Sep 17 00:00:00 2001 From: Spencer Ferris <3319370+spencewenski@users.noreply.github.com> Date: Mon, 22 Jul 2024 00:10:41 -0700 Subject: [PATCH] Update mod.rs --- src/tracing/mod.rs | 1 + 1 file changed, 1 insertion(+) 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;