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" }