Crash report

更新时间:
复制 MD 格式

A crash is an unexpected app termination. When a crash occurs, the client uploads crash information in real time. This information then appears on the console, typically after a delay of a few seconds to a few minutes.

Crash analysis provides statistics for app crashes, helping you track metrics such as crash count, crash rate, the number of affected devices, and the number of affected users. It also displays crash trends, groups crash reports by cause, and provides statistics for each crash type, including its count, number of affected devices, and the most common device models involved.

To view a crash report, follow these steps:

  1. Log in to the mPaaS console, and from the left navigation pane, choose Performance Monitoring > Crash Analysis.

  2. Click the Crash Report tab to view the crash analysis data.

  3. Filter the crash statistics by platform, app version, and time range.

    image

    Note

    Crash analysis is currently available only for iOS, Android, and HarmonyOS.

Core metrics

This section displays per-minute crash data and shows trends in a line chart. Click a metric card to view its corresponding trend data.

  • Crash count: The total number of crash logs (not deduplicated) for the selected time range.

  • Crash rate: The total number of crash logs (not deduplicated) divided by the total number of app launches reported by the client for the selected time range. Calculated as: crash count / app launches.

  • Number of affected devices: The total number of unique devices that experienced a crash within the selected time range, deduplicated by device ID.

  • Number of affected users: The total number of unique users who experienced a crash within the selected time range, deduplicated by user ID.

Crash categories

This section displays crash data for the selected time range, with logs categorized by their cause.

  • Crash count: The total number of crashes for a specific crash type (number of crash logs).

  • Account count: The number of unique user IDs associated with a specific crash type. The count is based on the user ID field in the logs. If this field is empty, the count defaults to 1.

  • Device count: The number of unique device IDs associated with a specific crash type. The count is based on the device ID field in the logs. If this field is empty, the count defaults to 1.

  • Version: The app version number recorded in the crash log.

  • Platform: The platform where the crash occurred, such as iOS or Android.

  • Details: The stack trace recorded in the crash log.

Note

Stack traces are available in the details of a crash report for Android, iOS, and HarmonyOS devices.

Crash details

In the crash categories list, click the Details link in the Actions column to view error information for that crash type. This includes the error group information and error samples.

image

  • Error Group:

    • Crash count: The total number of crashes for a specific crash type (number of crash logs).

    • Number of affected devices: The number of devices affected by this crash type, deduplicated by device ID.

    • Affected device ratio: The number of devices affected by this crash type divided by the total number of devices that experienced a crash.

    • Top 3 device models with crashes: The percentage of crashes contributed by the three device models with the most crashes.

  • Error Sample: Displays information for the current sample, including device details and log details. You can switch between samples using the < and > buttons in the upper-right corner of the Error Sample section.

    • Device details: Displays information for the current sample, such as device ID, platform, user ID, device model, OS version, and UUID.

    • Log details: Displays the crash log for the current sample and lets you export the data.

Note

Device IDs that are empty or contain only a hyphen (-) are not included in the device count.