From 73f702e27c4e44e5cffe6f1b4f1577e1f21b2dbf Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Thu, 26 Jan 2023 12:08:17 +0100 Subject: [PATCH] Filter in mongo db events --- query-engine/core/src/telemetry/capturing/helpers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/query-engine/core/src/telemetry/capturing/helpers.rs b/query-engine/core/src/telemetry/capturing/helpers.rs index ac5fce77f652..967a1311bf1b 100644 --- a/query-engine/core/src/telemetry/capturing/helpers.rs +++ b/query-engine/core/src/telemetry/capturing/helpers.rs @@ -7,6 +7,6 @@ pub fn span_and_event_filter(meta: &Metadata) -> bool { return true; } - // relevant quaint connector spans and events - meta.target() == "quaint::connector::metrics" + // relevant quaint connector or mongodb connector spans and events + meta.target() == "quaint::connector::metrics" || meta.target() == "mongodb_query_connector::query" }