sentry-tracing: SentryLayer
ignores event_filter
if event_mapper
is set
#630
Labels
area: docs
Something needs to be updated in the API docs or on https://docs.sentry.io/platforms/rust
Environment
Linux x86_64
Steps to Reproduce
SentryLayer
with bothevent_filter
andevent_mapper
set.event_filter
ignores tracing events belowLevel::ERROR
.event_mapper
always returnsEventMapping::Event(..)
.Level::WARN
(warn!()
).Expected Result
The
warn
event is discarded by the filter; the Sentry instance does not receive any events.Actual Result
The
warn
event is not discarded by the filter; the Sentry instance receives the mapped event.The text was updated successfully, but these errors were encountered: