All Products
Search
Document Center

Mobile Platform as a Service:Lag report

Last Updated:Jul 07, 2023

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 integrated the MAS SDK and configured client tracking. For more information, see Integrate MAS into Android and Integrate MAS into 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.

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: Shows the proportion of different device models experiencing lags, and the device model with the highest proportion ranks top.

  • Error sample: Shows the device details, log details and other information. You can switch the samples by clicking < and >

    • Device details: Shows the device ID, platform, user ID, device model, and operating system version.

    • Log details: Shows the lag log of the current sample. The log can be exported. See Lag tracking.

Note

If the device ID is empty or “-“, the device will not be counted.