Sampling and remote config
Each project has a remote config per environment. Edit it under Settings → Remote config.

{ "enabled": true, "sample_rate": 1.0, "upload_interval_ms": 30000, "config": { "console": false, "network_ignore": ["https://*.analytics.example.com/*"] }, "replay": { "enabled": true, "sample_rate": 0.1, "fps": 1, "max_width": 360, "quality": 0.4 }}| Field | Default | Takes effect | Meaning |
|---|---|---|---|
enabled |
true |
immediately | false is a kill switch: the SDK stops capturing and uploading at once, and stays dormant on later launches until a fetched config re-enables it |
sample_rate |
1.0 |
next launch | share of user sessions captured, 0 to 1 |
upload_interval_ms |
30000 |
next launch | minimum 5000 |
config |
{} |
at the next fetch | any configure() key; privacy-sensitive keys can only be switched off (below) |
replay.enabled |
false |
next launch | replay is off unless this is true and the app opted in with start config replay |
replay.sample_rate |
start config replay.sampleRate |
next launch | share of captured sessions that record replay frames |
replay.fps |
1 |
next launch | frames per second, only when the screen changed |
replay.max_width |
360 |
next launch | frame width in pixels |
replay.quality |
0.4 |
next launch | JPEG quality, 0 to 1 |
How the SDK applies it
Section titled “How the SDK applies it”- At start, the SDK applies the cached config from the device (
remote_config.json). - It fetches a fresh one in the background:
GET /v1/config?platform=…&app_version=…&sdk_version=…. configkeys are applied right away; sampling and the upload interval apply at the next launch.
Remote config can only reduce privacy-sensitive capture
Section titled “Remote config can only reduce privacy-sensitive capture”network_bodies, push_content, console, screenshots, layout, hierarchy, shake and replay can only be
switched off from remote config. They are turned on only by the app’s own configure() call (after
startProduction), and replay only when the start config has replay: { sampleRate }. A remote “off” overrides the
app for the rest of the launch; a later remote “on” just removes that override. Other keys (taps, network,
errors, thresholds, network_ignore additions, …) apply both ways. On React Native, remote traceparent_hosts
and webview_origins are ignored and remote console_levels can only narrow the app’s levels.
The app’s own start config is the local default; remote config overrides it. For example replay: { sampleRate: 0.1 }
in startProduction opts the app in to replay and applies until remote config sets another replay.sample_rate.
Replay sampling
Section titled “Replay sampling”The replay decision is made per process session (random < replay.sample_rate). When a session is sampled, the core
starts replay itself with inputs always masked, writes frames to a separate spool (at most 300 frames or 6 MB per
session, oldest dropped first) and uploads them after the signal batches.