Do manually sent events respect `sampleRate`?


I could not find info in the docs whether the manually sent events (both exception and message) respect the sampleRate from the Sentry configuration?

I tried manually sending an event and subscribing to beforeSend and the event ends up in there, so am I right to assume that the sampleRate is applied to manually sent events as well?


I just remembered to try setting the sampleRate to 0 and no event was sent, so yes, Sentry respects the sampleRate for manually sent events as well.

1 Like