From 8307eb7d7413893e7a7766b1b596e373b23c4a82 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" }