Skip to content

Allow Session Replay "replaysOnErrorSampleRate" variable to accept an array of possible logging levels #9413

Closed
@michaelcreatesstuff

Description

@michaelcreatesstuff

Problem Statement

I want to not capture replays for all errors, only errors with a logging level of "error" or "fatal"

I am using Sentry to log events with level "debug". I don't want these included in Session replay

Solution Brainstorm

Allow the user to provide an array of logging levels to include in Session Replay's "replaysOnErrorSampleRate" variable config.

Default this to all logging levels if no value is provided

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions