Capture Services
The Embrace Apple SDK provides several Capture Services that automatically capture data from your mobile application and transform it into OpenTelemetry signals. Depending on the specific activity being tracked, the automatic instrumentation might create OTel spans for the event, or might create OTel span events that attach to the session span.
These services are configured when initializing the Embrace Apple SDK, and you can also create your own custom services to add new automatic instrumentation.
See more here.
Here's the list of services the Embrace Apple SDK provides:
URLSessionCaptureService
: generates OpenTelemetry spans for network requests made throughURLSession
.TapCaptureService
: generates OpenTelemetry span events for taps on the screen.ViewCaptureService
: generates OpenTelemetry spans that measureUIViewControllers
load and render times.WebViewCaptureService
: generates OpenTelemetry span events when aWKWebView
loads an URL or throws an error.
LowMemoryWarningCaptureService
: generates OpenTelemetry span events when the application receives a low memory warning.LowPowerModeCaptureService
: generates OpenTelemetry spans when the phone is running in low power mode.
PushNotificationCaptureService
: Instrumentation for push notifications received by the app. This generates OpenTelemetry span events with certain push notification data attached.