DiagnosticSDK

Known limitations

What the SDK does not capture or replay.

  • WKWebView traffic is not captured: it runs in a separate process.
  • Low-level sockets and stacks that do not use URLSession are out of scope.
  • Replay is not available for background URLSessions.
  • SwiftUI navigation is not detected: requests are filed under the last UIKit screen on display.
  • Bodies: textual content types (JSON, JSON Lines, form-urlencoded, XML, HTML, plain text, GraphQL, YAML, SQL) are stored as readable text, multipart as base64. Images and other binary content (protobuf, octet-stream…) keep only their size.
  • Download and stream tasks: the body cannot be observed, only its size is recorded.
  • Size limits: each stored body is capped at 2 MiB (larger ones are truncated). A session keeps at most 48 MB of bodies in memory; beyond that, the oldest bodies are dropped.
  • Replay serves a recorded response only if it has headers and a complete body (not truncated, not dropped). Sessions recorded by older SDK versions replay JSON responses only.
  • The SDK is meant for Debug builds.