-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maximum Session Replay Duration Configuration #8758
Comments
Assigning to @getsentry/support for routing ⏲️ |
Routing to @getsentry/product-owners-replays for triage ⏲️ |
Moved this issue to the JavaScript SDK monorepo. This sound like a fair configuration to me. To allow setting We recently added an option called minReplayDuration that controls the min duration. Value in milliseconds, default is 5000 and max is 15000:
This seems like a specific use case worth adding an option for, that perhaps helps unblock some use cases where folks asked for a more generic way to 'filter' replays, such as: |
This defaults to 60min, and is capped at max. 60min (=you cannot specify a longer max duration than 60min). Closes #8758
Problem Statement
I want to capture 60 seconds before and 60 seconds after an error occurs. Our primary focus is on understanding how users encounter errors, so we don't need to record an entire 60 minutes after the error occurs
Currently, we are receiving really long session replays, whereas our main interest lies in the moments immediately preceding the error, along with a brief period thereafter. The majority of the replay consists of activities performed by users after the error, which is not important to us.
Solution Brainstorm
A simple solution would be a
maxReplayDuration
similar to theminReplayDuration
.Or it could be more fine-grained for people who only care about errors and have a configuration like:
beforeErrorDuration
afterErrorDuration
This would enable users to customize the amount of data they wish to capture both before and after an error happens.
Product Area
Replays
The text was updated successfully, but these errors were encountered: