Real User Monitoring offers Mobile Vitals, a set of metrics inspired by MetricKit, that can help compute insights about your mobile application’s responsiveness, stability, and resource consumption. Mobile Vitals range from poor, moderate, to good.
Mobile Vitals appear in your application’s Overview tab and in the side panel under Performance > Event Timings and Mobile Vitals when you click on an individual view in the RUM Explorer. Click on a graph in Mobile Vitals to apply a filter by version or examine filtered sessions.
Understand your application’s overall health and performance with the line graphs displaying metrics across various application versions. To filter on application version or see specific sessions and views, click on a graph.
You can also select a view in the RUM Explorer and observe recommended benchmark ranges that directly correlate to your application’s user experience in the session. Click on a metric such as Refresh Rate Average and click Search Views With Poor Performance to apply a filter in your search query and examine additional views.
The following metrics provide insight into your mobile application’s performance.
|Slow renders||To ensure a smooth, jank-free user experience, your application should render frames in under 60Hz.|
RUM tracks the application’s display refresh rate using
@view.refresh_rate_min view attributes.
With slow rendering, you can monitor which views are taking longer than 16ms or 60Hz to render.
Note: Refresh rates are normalized on a range of zero to 60fps. For example, if your application runs at 100fps on a device capable of rendering 120fps, Datadog reports 50fps in Mobile Vitals.
|Frozen frames||Frames that take longer than 700ms to render appear as stuck and unresponsive in your application. These are classified as frozen frames.|
long task events with the duration for any task taking longer then 100ms to complete.
With frozen frames, you can monitor which views appear frozen (taking longer than 700ms to render) to your end users and eliminate jank in your application.
|Crash-free sessions by version||An application crash is reported due to an unexpected exit in the application typically caused by an unhandled exception or signal. Crash-free user sessions in your application directly correspond to your end user’s experience and overall satisfaction.|
RUM tracks complete crash reports and presents trends over time with Error Tracking.
With crash-free sessions, you can stay up to speed on industry benchmarks and ensure that your application is ranked highly on the Google Play Store.
|CPU ticks per second||High CPU usage impacts the battery life on your users’ devices.|
RUM tracks CPU ticks per second for each view and the CPU utilization over the course of a session. The recommended range is <40 for good and <60 for moderate.
You can see the top views with the most number of CPU ticks on average over a selected time period under Mobile Vitals in your application’s Overview page.
|Memory utilization||High memory usage can lead to out-of-memory crashes, which causes a poor user experience.|
RUM tracks the amount of physical memory used by your application in bytes for each view, over the course of a session. The recommended range is <200MB for good and <400MB for moderate.
You can see the top views with the most memory consumption on average over a selected time period under Mobile Vitals in your application’s Overview page.
Additional helpful documentation, links, and articles: