From 30176067010a3040f588a4a08482601929d93b69 Mon Sep 17 00:00:00 2001 From: Kevin GRONDIN Date: Tue, 29 Jul 2025 12:25:36 +0200 Subject: [PATCH] Use default instrumentation in AsyncPgConnection::try_from_client_and_connection --- src/pg/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pg/mod.rs b/src/pg/mod.rs index 74d61c7..03e50ec 100644 --- a/src/pg/mod.rs +++ b/src/pg/mod.rs @@ -503,7 +503,9 @@ impl AsyncPgConnection { Some(error_rx), Some(notification_rx), Some(shutdown_tx), - Arc::new(std::sync::Mutex::new(DynInstrumentation::none())), + Arc::new(std::sync::Mutex::new( + DynInstrumentation::default_instrumentation(), + )), ) .await }