getsentry / getsentry/sentry

Feature Request: Remote Config Option for Session Replay Sample Rate in Mobile SDKs

Open
#82,543 4 comments 1 reaction 0 assignees View on GitHub
1. Urgent Explore > Replays Feature
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Problem Statement

Customers are testing out Session Replay for their mobile applications.
During testing and potential scaling, they require the option to dynamically adjust the Session Replay sample rate without requiring an app release.

In scenarios where developers need to fine-tune the sample rate based on app performance, user behavior, or infrastructure considerations, rolling out an app update to modify the sample rate is both time-consuming and inefficient.

The proposed solution is for Sentry to provide support for remote configuration of the Session Replay sample rate in the Mobile SDKs.
This feature would allow developers to change the sample rate dynamically via a remote request after SDK initialization.

Remote configuration would provide:
- Greater flexibility in managing Session Replay settings.
- Improved ability to scale and test effectively during rollout phases.
- Reduced operational friction for engineering teams managing frequent changes to sample rates.

### Solution Brainstorm

_No response_

### Product Area

Replays

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.