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 27, 2023
1 parent 7a0ba8b commit d8b2043
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 d8b2043

Please sign in to comment.