From c06f9635f5c72723b47c289655ff00a1b2fbb7ca Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Sat, 17 May 2025 18:52:11 +0200 Subject: [PATCH] remove tracing instrument on passthrough --- proxy/src/proxy/copy_bidirectional.rs | 1 - proxy/src/proxy/passthrough.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/proxy/src/proxy/copy_bidirectional.rs b/proxy/src/proxy/copy_bidirectional.rs index 97f8d7c6af..41ac5b2880 100644 --- a/proxy/src/proxy/copy_bidirectional.rs +++ b/proxy/src/proxy/copy_bidirectional.rs @@ -67,7 +67,6 @@ where } } -#[tracing::instrument(skip_all)] pub async fn copy_bidirectional_client_compute( client: &mut Client, compute: &mut Compute, diff --git a/proxy/src/proxy/passthrough.rs b/proxy/src/proxy/passthrough.rs index c100b8d716..b4a964e532 100644 --- a/proxy/src/proxy/passthrough.rs +++ b/proxy/src/proxy/passthrough.rs @@ -13,7 +13,6 @@ use crate::stream::Stream; use crate::usage_metrics::{Ids, MetricCounterRecorder, USAGE_METRICS}; /// Forward bytes in both directions (client <-> compute). -#[tracing::instrument(skip_all)] pub(crate) async fn proxy_pass( client: impl AsyncRead + AsyncWrite + Unpin, compute: impl AsyncRead + AsyncWrite + Unpin,