Analyze Performance with Metrics

Overview

Visualization of Android app crash-free sessions percentage over four weeks.

Datadog provides the below out-of-the-box metrics for a comprehensive overview of your application’s health over time. To ensure accuracy, these metrics are computed prior to retaining or discarding any sessions. This means that even though you keep 0.01% of your sessions, these metrics are computed based on 100% of the ingested sessions. These metrics are powering the performance summary to give you an accurate overview of the performance of your apps.

Notes:

  • The Default cardinality set in the table below includes the following dimensions: environment, app name, app ID, app version, service, OS name, OS version, browser name, and country.
  • All queries for the below metrics include @session.type:user.
  • If you need performance metrics beyond the ones listed below, you can create custom metrics from your RUM events. Both OOTB and custom metrics are computed based on 100% of the traffic ingested.
Metric NameDescriptionDimensionsPlatform
rum.measure.app.startup_timeApp startup timeDefault, Percentiles breakdownMobile only
rum.measure.errorCount of errorsDefault, Is Crash, View NameMobile & Browser
rum.measure.error.anrCount of ANRs (an Android freeze)Default, Is Crash, View NameMobile only
rum.measure.error.hangCount of hangs (an iOS freeze)DefaultMobile only
rum.measure.error.hang.durationDuration of hangs (an iOS freeze)Default, View NameMobile only
rum.measure.sessionCount of sessionsDefaultMobile & Browser
rum.measure.session.actionCount of actionsDefault, Action Type, View NameMobile & Browser
rum.measure.session.crash_freeCount of crash-free sessionsDefaultMobile only
rum.measure.session.errorCount of errors per session (@session.error.count)Default, Percentiles breakdownMobile & Browser
rum.measure.session.frustrationCount of frustration signalsDefaultMobile & Browser
rum.measure.session.inactiveCount of inactive sessionsDefaultMobile & Browser
rum.measure.session.time_spentSession durationDefault, Percentiles breakdownMobile & Browser
rum.measure.viewCount of viewsDefault, View NameMobile & Browser
rum.measure.view.cpu_ticks_per_secondCPU ticks per secondDefault, View NameMobile only
rum.measure.view.crash_freeCrash-free session rateDefault, View NameMobile only
rum.measure.view.cumulative_layout_shiftCumulative Layout ShiftDefault, Percentiles breakdown, View NameBrowser only
rum.measure.view.loading_timeTime until the page is ready and no network request or DOM mutation is currently occurring.Default, Percentiles breakdown, View NameMobile & Browser
rum.measure.view.error_freeCount of error free sessionsDefault, View NameMobile & Browser
rum.measure.view.first_contentful_paintTime when the browser first renders any text, image (including background images), non-white canvas, or SVGDefault, Percentiles breakdown, View NameBrowser only
rum.measure.view.frozen_frameCount of frozen framesDefault, View NameMobile only
rum.measure.view.frozen_frame_freeCount of views without frozen framesDefaultMobile only
rum.measure.view.inactiveCount of inactive viewsDefault, Percentiles breakdownMobile & Browser
rum.measure.view.interaction_to_next_paintLongest duration between a user’s interaction with the page and the next paint.Default, Percentiles breakdownBrowser only
rum.measure.view.interaction_to_next_viewTime between the last user interaction in the previous view and the start of the current viewDefault, Percentiles breakdownMobile only
rum.measure.view.largest_contentful_paintTime in the page load where the largest DOM object in the viewport (visible on screen) is renderedDefault, Percentiles breakdown, View NameBrowser only
rum.measure.view.memoryAmount of system memory usedDefault, Percentiles breakdownMobile only
rum.measure.view.network_settledNetwork settledDefault, Percentiles breakdownMobile only
rum.measure.view.refresh_rateAverage of user’s refresh rate (FPS)Default, Percentiles breakdownMobile only
rum.measure.view.slow_renderedCount of slow rendered viewsDefaultMobile only
rum.measure.rum.measure.view.time_spentTime spent on the current viewDefaultMobile & Browser

API

Metrics can be managed through APIs or Datadog’s dedicated Terraform modules.

Further reading