From be095164eddc7ac53c86c644acf21fe957fa4d7a Mon Sep 17 00:00:00 2001 From: Cijo Thomas Date: Wed, 18 Dec 2024 16:59:09 -0800 Subject: [PATCH] bring oteldebug to hyper mod --- opentelemetry-http/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentelemetry-http/src/lib.rs b/opentelemetry-http/src/lib.rs index 2e02a23f65..f272d8d4c5 100644 --- a/opentelemetry-http/src/lib.rs +++ b/opentelemetry-http/src/lib.rs @@ -106,9 +106,8 @@ mod reqwest { #[cfg(feature = "hyper")] pub mod hyper { - use crate::ResponseExt; - use super::{async_trait, Bytes, HttpClient, HttpError, Request, Response}; + use crate::ResponseExt; use http::HeaderValue; use http_body_util::{BodyExt, Full}; use hyper::body::{Body as HttpBody, Frame}; @@ -116,6 +115,7 @@ pub mod hyper { connect::{Connect, HttpConnector}, Client, }; + use opentelemetry::otel_debug; use std::fmt::Debug; use std::pin::Pin; use std::task::{self, Poll};