Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,17 @@

### Changing the sampling rate in the Datadog RUM UI

Changing the sampling rate is only supported for server-side sampling, and can be accomplished by [modifying the retention rate][15] from the retention filters page.
You can only change the sampling rate from the Datadog UI for browser server-side sampling. To do this, [modify the sampling rate][15] on the SDK Configuration page.

During live outages, incidents, or bug investigations, you can increase sampling to collect 100% of your sessions to ensure nothing is missed, or to have more examples of a particular issue.
{{< img src="/real_user_monitoring/browser/browser-change-sampling.png" alt="Session Sampling and Session Replay Sampling sliders visible from the RUM SDK Configuration page." style="width:100%;" >}}

**Note**: This behavior only applies to mobile applications using mobile RUM SDKs.
To modify the sampling rate for browser SDK client-side sampling, you can either:
- Deploy a new version of your application with an updated `sessionSampleRate` value
- Use a feature flag or remote configuration service to dynamically set the rate when the SDK initializes

To modify the sampling rate for mobile SDKs, redeploy your application with an updated `sessionSampleRate` value.

During live outages, incidents, or bug investigations, you can increase sampling to collect 100% of your sessions to help ensure nothing is missed, or to have more examples of a particular issue.

Check warning on line 85 in content/en/real_user_monitoring/guide/best-practices-for-rum-sampling.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.words_case_insensitive

Use 'helps' or 'helps ensure' instead of 'ensure'.

Check notice on line 85 in content/en/real_user_monitoring/guide/best-practices-for-rum-sampling.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.sentencelength

Suggestion: Try to keep your sentence length to 25 words or fewer.

## Further Reading

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading