Skip to content

Commit

Permalink
Filter in mongo db events
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Jan 26, 2023
1 parent 161a370 commit 73f702e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query-engine/core/src/telemetry/capturing/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 73f702e

Please sign in to comment.