All Products
Search
Document Center

Lag report

Last Updated: Sep 10, 2021

Lag refers that the main thread doesn’t complete executing any method within a certain period of time (2.25 seconds in Android; 2 seconds in iOS). By reading the lag report, you can learn about device lagging times, device lagging rate, and affected devices, and view the details of each lag type. When a lag occurs, the client uploads the lag data in real time, and the data is displayed on the console with seconds or minutes delay.

Note: To view the lag report, ensure that you have accessed the MAS SDK and configured client tracking. For more information, see Access Android and Access iOS.

To view the lag report, complete the following steps:

  1. Log in to the console, click Products and Services > Mobile PaaS, and then select the target app.
  2. From the navigation bar on the left, click Mobile Analysis Service > Performance analysis > Lag report.
  3. Filter the lag analysis data by platform, app version, and time.

1

Lag overview

Present the minute-level lag statistical data in the line chart.

  • Lag count: Total lagging counts on the day (duplicates not removed).
  • Lag rate: Ratio of total lagging devices (non-deduplicated) to total PVs.
  • Affected devices: Total number of lagging devices on the day.

Lag classification

The data report in this area shows the data of lags on the selected date.

  • Lag count: Total number of lags of the same type (total number of lag logs).
  • Accounts: Total distinct user IDs (counted by userID field in the logs) in the lags of the same type. If no userID field is available in the logs, the value is 1 by default.
  • Devices: Total distinct device IDs (counted by device ID in the logs) in the lags of the same type. If no device ID is available in the logs, the value is 1 by default.
  • Version: Version No. in the lag log file.
  • Details: Lag call stack in the log file.

Lag details

In the Lag classification section, click the content in the Details column to enter the lag details page which displays the error group, error sample and other information.

  • Error group:
    • Lag count: Total number of lags of the same type (total number of lag logs).
    • Affected devices: Total count of the devices on which the lag occurred, deduplicated by device ID.
    • Proportion of affected devices: The proportion of devices affected by such type of lag in the total devices experiencing lag.
    • Device models: Show the proportion of different device models experiencing lags, and the device model with the highest proportion ranks top.
  • Error sample: Show the device details, log details and other information. You can switch the samples by clicking < and >.
    • Device details: Show the device ID, platform, user ID, device model, operating system version, and UUID.
    • Log details: Show the lag log of the current sample. The log can be exported. See Lag tracking for details.
Note: If the device ID is empty or “-“, the device will not be counted.