Skip to main content
Every Apsio SDK fetches a small policy for its app at launch and every 5 minutes while the app is in the foreground. Changing the policy changes what devices collect, with no app release.

What the policy controls

A policy can only narrow what the app’s code turned on: it never turns on capture that the app turned off, and never unmasks what the app masks. Replay and text masking apply to session replay, in the iOS, Android and React Native SDKs; see Replay and masking. A minified Android app must keep the names of the classes a policy masks or hides: see Class names and R8.

How fast a change arrives

A change reaches the edge within about two minutes. Each device then picks it up at its next fetch: the next launch, or within 5 minutes while the app is open. Devices that are offline keep using the last policy they received.

Stopping an app’s SDK

An owner or admin can turn an app’s kill switch on themselves, with a reason: Stop the SDK on the app’s Instrumentation page. Devices stop collecting, delete what they hold and send nothing from their next policy fetch, until the switch is off again. Turning it on or off is in the audit log. Your switch never lifts one Apsio turned on (below), which the API shows as by_apsio.

Layers and staged rollouts

A layer changes part of the policy for some devices only: an app version, an OS range, device models, or up to 100 installs and app users you name. It can roll out to a share of those devices and keep a holdback out of it, so you can compare the two groups before going further.
  • An owner or admin sets an app’s layers, in order, on its Instrumentation page. Devices apply the base policy, then each layer that targets them in list order, so a later layer wins. Up to 50.
  • A layer changes capture, replay, masking and what each family sends. Like the base, it can only narrow what the app’s code turned on. A family it changes is replaced whole, and may list only the rules the app defines.
  • A rollout is a percent of the targeted installs, with at most two decimals; the holdback is up to 50% more, kept out on purpose. Each install lands in the same place every time, so raising the percent only adds devices.
  • Install ids and app users are stored only as hashes, with their last four characters for you to recognize them; the policy every device reads names nobody.
  • Stopping a layer (Stop on every device) needs a reason. A layer you take out of the list is removed, and one past its expiry ends on its own. Stopped, removed and expired layers stay in the app’s history, and none comes back by its id: a copy is a new layer.
  • Guardrails roll a layer back for you when the devices that took it do worse than its holdback: crash-free sessions drop by more points than you allow, or ingest per session grows by more than you allow. A guardrail needs a holdback. Apsio checks every 10 minutes, once each group has enough sessions (200 by default), over the sessions since the layer last changed.
  • The Instrumentation page shows the two groups side by side.
Every change to the layers, and every stop, is in the audit log.

Disabling an app

Disabling an app turns its kill switch on at once, whatever its policy says, and the ingest endpoint stops accepting its data. Enabling it again restores the policy.

What your plan adds

Two states of your organization override the policy at the edge, for every app:
  • At your plan’s cap (Free’s 5,000 sessions a month, the trial’s 50,000, or the spend cap you set on Pro), session sampling is served as 0%: new sessions send no detail, while crashes, errors and session counts keep flowing within your plan’s fair use. Your own sampling rate comes back when the cap lifts. See Caps and alerts.
  • At a fair-use limit, the policy lowers the matching share for the rest of the month: session summaries, errors on Free, or logs, spans and metrics. A stored policy can only lower these further. See Fair use.
  • When a payment has failed for good (the subscription is unpaid), the kill switch is on, and the ingest endpoint answers 402 until it is paid. The end of the trial is not one of these states: the organization moves to Free and keeps sending.
A disabled app or a suspended organization outranks both.