Private preview Grafana Cloud

Note

Observability for Mobile is currently in private preview. Grafana Labs offers support on a best-effort basis, and breaking changes might occur prior to the feature being made generally available.

Observability for Mobile features by SDK

To request access, add your information to the Observability for Mobile preview wait list form.

Use this page to see what each Observability for Mobile SDK captures today and what you see in Grafana Cloud. It covers these SDK versions:

  • Flutter: Faro Flutter SDK 0.18.0
  • React Native: Faro React Native SDK 1.5.0 and the Faro React Native tracing package 2.0.4
  • iOS: OpenTelemetry Swift 2.6.0
  • Android: OpenTelemetry Android 1.8.1. The Android instrumentation modules are alpha releases.

Each feature has one of these statuses:

  • Available: Works after you install and initialize the SDK.
  • Available with setup: Works after you turn it on or add a component or module to your app.
  • Limited: Works only in part. The notes explain the limits.
  • Not yet available: The SDK doesn’t support it today.
FeatureFlutterReact NativeiOSAndroidNotes
Screen and view trackingAvailable with setupAvailable with setupNot yet availableLimitedFlutter and React Native: Add the navigation observer or navigation hook from the SDK. Android: Jetpack Compose needs an extra module. With Compose Navigation, errors and HTTP requests can still show MainActivity as the view.
Tap and interaction trackingAvailable with setupAvailable with setupNot yet availableAvailable with setupFlutter and React Native: Wrap the components you want to track. Android: Add the click modules. Jetpack Compose 1.3.0 to 1.5.4 only.
User actions (events, errors, and requests from one tap)AvailableAvailableNot yet availableNot yet availableFlutter: Create user actions in code. Taps don’t create them automatically.

Errors and crashes

FeatureFlutterReact NativeiOSAndroidNotes
Error captureAvailableAvailableNot yet availableLimitedCaptures uncaught errors. React Native also captures unhandled promise rejections, and React component errors through the error boundary in the SDK. iOS: Crashes arrive only as MetricKit diagnostics. Android: JVM crashes only.
Native crashesAvailable with setupAvailable with setupAvailable with setupLimitedFlutter and React Native: Turn on crash reporting in the SDK configuration. iOS: Reported through MetricKit. Android: Add the native crash module. Reports arrive on the next launch, without native stack traces.
App not responding (ANR) and hangsLimitedLimitedLimitedAvailableFlutter and React Native: Android only. Turn on ANR tracking in the SDK configuration. iOS: MetricKit reports hangs, but doesn’t classify them. Android: Detected while the app is in the foreground.
Readable stack tracesNot yet availableLimitedNot yet availableAvailable with setupReact Native: JavaScript and Hermes stack traces are readable after you upload matching source maps. Native symbols need separate setup. Android: Upload R8 mapping files.
Crash linked to the session it endedLimitedLimitedNot yet availableAvailable with setupFlutter: Turn on crash reporting. On Android, needs Android 11 or later. React Native: iOS, and Android 11 and later, only. Android: The native crash module includes the original session ID when it’s available.

Performance

FeatureFlutterReact NativeiOSAndroidNotes
App start (cold and warm)AvailableAvailableNot yet availableNot yet availableFlutter and React Native measure app start differently, so the values aren’t directly comparable. React Native: Cold start needs Android API 24 or later. Android: Reports only SDK initialization events.
Slow and frozen framesLimitedAvailable with setupNot yet availableAvailableFlutter and React Native: Turn on refresh rate vitals in the SDK configuration. Flutter: Android only.
CPU and memoryAvailableAvailableNot yet availableNot yet availableAndroid: Crash reports include battery, heap, and storage details only.

Network

FeatureFlutterReact NativeiOSAndroidNotes
HTTP request trackingAvailable with setupAvailableAvailable with setupAvailable with setupReact Native: Tracks fetch and XHR requests by default. Install the tracing package to add spans. iOS: Add URLSession instrumentation. Android: Add the OkHttp or HttpURLConnection module.
Secrets hidden in URLsAvailableNot yet availableNot yet availableAvailable with setupFlutter redacts common sensitive values by default. React Native: Remove sensitive values before data is sent. iOS records the full URL. Android: Configure attribute redaction.
Network type and carrierNot yet availableLimitedAvailable with setupAvailable with setupReact Native: Includes the carrier in session metadata when the OS provides it, but not the network type. iOS and Android: Add the network status or network change module.
Offline bufferingAvailable with setupAvailable with setupAvailable with setupAvailableFlutter and React Native: Turn on the offline transport. iOS: Add the persistence exporter. Android: On by default.

Sessions and users

FeatureFlutterReact NativeiOSAndroidNotes
SessionsAvailableAvailableAvailable with setupAvailableFlutter and React Native: A session ends after 15 minutes of inactivity or 4 hours total. iOS: Set up sessions manually. Defaults are 30 minutes of inactivity, with no maximum length. Android: A session ends after 15 minutes in the background or 4 hours total.
Previous session linked after app restartAvailableAvailable with setupAvailable with setupNot yet availableFlutter and React Native start a new session and link it to the previous one. React Native needs the MMKV storage library for this. iOS: Session restore is configurable.
User identityAvailableAvailableAvailable with setupAvailable with setupiOS and Android: Set user details manually or as global attributes.
Session sampling (cost control)AvailableAvailableNot yet availableNot yet available

Custom data and tracing

FeatureFlutterReact NativeiOSAndroidNotes
Custom events and logsAvailableAvailableAvailableAvailable
Custom measurementsAvailableAvailableNot yet availableNot yet availableiOS and Android: The SDKs send measurements as OpenTelemetry metrics, and the mobile preview endpoint doesn’t store these metrics.
Custom spans and trace contextAvailableAvailable with setupAvailableAvailableReact Native: Install the tracing package.
Console and log captureNot yet availableAvailableAvailable with setupAvailable with setupiOS: Add the Swift log bridge. Android: Add the Android log module.
WebView tracingAvailable with setupNot yet availableNot yet availableNot yet availableFlutter: Add a bridge in the app and set up the web page to continue a trace.

Minimum requirements

SDKMinimum platform
Faro Flutter SDK 0.18.0Flutter 3.32 and Dart 3.8
Faro React Native SDK 1.5.0React Native 0.70, iOS 13.4, and Android API 21
OpenTelemetry Swift 2.6.0iOS 13
OpenTelemetry Android 1.8.1Android API 26, or API 23 with coreLibraryDesugaringEnabled turned on. API 23 to 25 also need extra build setup. Refer to the OpenTelemetry Android 1.8.1 setup notes.

Next steps