Skip to content

Allow excluding DOM elements for Sessions Replay mutations #13913

@maximedupre

Description

@maximedupre

Problem Statement

When the mutationLimit is reached:

Sentry Logger [info]: [Replay] Stopping Replay triggered by mutationLimit
Sentry Logger [info]: [Replay] Destroying compression worker

One could increase the default mutationLimit but then performances would be degraded

Solution Brainstorm

Allow the exclusion of certain elements, similar to how you can mask or block certain elements with a class or [data-sentry-*] attribute.

This way you could prevent the session replay from being stopped, keep an acceptable mutationLimit, and prevent performance degradation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions