Skip to content

Replay: Allow the user-defined minimum session duration before flushing #8562

Closed
@bruno-garcia

Description

@bruno-garcia

With this change:

We attempt to reduce short-lived sessions (smaller than 5 seconds). It's possible in the event a tab is closed, that the SDK flushes shorter replays.

A user requested that sessions should be at least 10 seconds long before getting collected. This could be done in the form of a configuration. Consider a maximum value so we don't need to buffer too much data in memory due to misconfiguration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: replayIssues related to the Sentry Replay SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions