Problem Statement
Currently, replay sample rates are configured directly in the integration:
Sentry.init({sampleRate: 0.5,tracesSampleRate: 0.1,profilesSampleRate: 0.25,integrations: [newReplay({sessionSampleRate: 0.1,errorSampleRate: 1.0})});This is inconsistent.
Solution Brainstorm
We want to move these options to the top level:
Sentry.init({sampleRate: 0.5,tracesSampleRate: 0.1,profilesSampleRate: 0.25,replaysSampleRate: 0.5,replaysOnErrorSampleRate: 1.0,integrations: [newReplay()});The goal is, for now, to deprecate the "old" options directly on Replay and remove them in a later release.
Steps
Problem Statement
Currently, replay sample rates are configured directly in the integration:
This is inconsistent.
Solution Brainstorm
We want to move these options to the top level:
The goal is, for now, to deprecate the "old" options directly on Replay and remove them in a later release.
Steps