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 authored and Miguel Fernández committed Jan 30, 2023
1 parent 1909540 commit 8307eb7
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 8307eb7

Please sign in to comment.