Apsio Mobile Profile for OTLP
| Version | 0.1.0 |
| Status | Final |
| Published | 2026-10-03 as a draft; final 2026-10-28 |
| Builds on | OTLP 1.x (protocol 1.11) and OpenTelemetry semantic conventions 1.44 |
| License | CC BY 4.0 for this text; Apache-2.0 for the schemas and conformance vectors |
0 Introduction
Section titled “0 Introduction”OpenTelemetry defines the wire format (OTLP) and names for many attributes, but its mobile conventions are still in development, and several things a phone needs are not specified at all. This profile fills those gaps.
It adds no new wire format. Everything here is plain OTLP, with rules about what to send and how to read it. Any OpenTelemetry SDK can produce conforming data, and any backend can consume it.
The profile covers:
- Transport: paths, encodings, headers and responses.
- Resource: what identifies the app build, the device and the install.
- Sessions: session identity, rotation and the session summary.
- Offline delivery: the disk queue, batch ids and deduplication.
- Device clock: how timestamps are corrected.
- Crashes and exits: crashes, hangs and terminations without a report.
- Vitals and MetricKit: mapping MetricKit to OTLP metrics.
- App start and screens:
app.startandapp.screen.load. - Session sampling: one decision per session and family, with reweighting.
- Replay: wireframe frames and masking.
- Privacy: what never leaves the device.
- Remote configuration: the policy document.
- SDK API: the language-neutral public surface.
- Cross-platform runtimes: JavaScript errors, crashes and stacks from React Native.
- Instrumentation: what the device stores, what leaves it and when, and when it is deleted.
- Live inspection (optional): an internal tester’s device, viewed live behind two keys.
Appendices: A. Attribute registry, B. Conformance, C. Changelog.
Conventions
Section titled “Conventions”The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are used as described in RFC 2119 and RFC 8174 when, and only when, they appear in capitals.
- SDK is any code on the device that produces telemetry under this profile.
- Backend is any service that receives it.
- Record is one OTLP log record, span or metric data point.
- Timestamps are Unix time in nanoseconds, as in OTLP.
Where this profile uses an OpenTelemetry convention, appendix A gives its OpenTelemetry
stability, so a rename upstream is visible here. Names the profile introduces use the
apsio. prefix, except where it proposes a name for OpenTelemetry to adopt
(app.start, app.screen.load, app.abnormal_exit).
Defaults
Section titled “Defaults”The profile fixes these values. A backend MAY change them per app through remote configuration (section 12); an SDK MUST use them when no policy says otherwise.
| Value | Default | Section |
|---|---|---|
| Session ends after time in the background | 30 minutes | 3 |
| Maximum session length | 4 hours | 3 |
| Clock offset below which timestamps are not corrected | 2 minutes | 5 |
| Maximum age of a queued batch | 7 days | 4 |
| Policy fetch interval in the foreground, at most every | 15 minutes | 12 |
| Maximum compressed request size | 1 MiB | 1 |
Goal: upstream
Section titled “Goal: upstream”Parts of this profile are written to be proposed to the OpenTelemetry Client
Instrumentation SIG once they are proven in production: app.start, app.screen.load
and session sampling as semantic conventions; offline delivery and clock correction as
an OTEP. When an equivalent convention becomes official, the profile adopts its name and
marks the old one deprecated in appendix A.
Known limitations of 0.1.0
Section titled “Known limitations of 0.1.0”0.1.0 is final: its text no longer changes, and fixes and additions go into a later version (changelog). It has these known limitations:
- The session summary record (section 3.4) has no
OpenTelemetry equivalent yet. It stays an Apsio record of the
summaryfamily; if OpenTelemetry defines one, a later version says how a backend reads both. - The SDK conformance driver’s steps (B.5) are the ones 0.1.0’s vectors need. A later version may add steps; it does not change these.
- As of 2026-10-28, no recorded iOS 27 payload has confirmed the bucket ladders of the Swift
MetricKit API (section 7): they are assumed equal to the
MX*ladders. A later version corrects them if a recording differs. - As of 2026-10-28, a MetricKit crash diagnostic for a process the SDK’s own crash reporter
recorded nothing for is not mapped to a record
(6.4): such a crash is not reported. A
later version may map it to the exit reason
crash.