All Products
Search
Document Center

Mobile Platform as a Service:Mini program monitoring

Last Updated:Feb 01, 2024

As an increasing number of mini programs are developed and gaining a growing number of users, mini programs have become a common carrier for users to have access to Internet services. The performance of mini programs greatly affect the user experience and in turn, affects the user retention and conversion rates. The performance of a mini program is reflected in the loading and presentation speed of the mini program and the responsiveness of its interaction with users.

The mini program monitoring feature monitors user access, mini program page stability, and external service calls in real time. The feature provides real-time statistical analysis of the page views (PV), unique visitors (UV), and other user access data and their trends. In addition, the feature monitors performance problems that affect user experience, such as white screens, in-app open exceptions, exceptions in JS API calls, exceptions in requests for app data packets. This feature helps users locate and resolve the problems.

This feature is available for mPaaS mini programs only and will be available for Alipay mini programs and WeChat mini programs in the future.

View monitored mini programs

A user can monitor up to 100 mini programs. In other words, a user can have multiple apps and create multiple mini programs for each app, but cannot monitor more than 100 mini programs in total.

To view the list of monitored mini programs, perform the following steps:

  1. Log on to the Alibaba Cloud Management Console. Choose Products and Services > Mobile PaaS. On the page that appears, select the app that you need to query analysis data.

  2. In the left-side navigation pane, choose Application Performance Management > Mini program monitoring. In the list of monitored mini programs, you can view the number of new users, the number of active users, the number of startup times, the monitoring data of the day, and the monitoring data of the previous day for each mPaaS mini program.

    Note

    A mini program in the list of monitored mini programs can be downloaded by using the offline mini program package created on the mPaaS mini program platform.

  3. In the list of monitored mini programs, click the specified mini program name or click View in the

    Operations column. The Mini program monitoring details page appears, allowing you to view the monitoring data of the mini program.

    In addition, you can enter keywords in the search box to search for mini programs.

    To export the list of monitored mini programs and the access data of the monitored mini programs that belong to the current app, click Export in the upper-right corner. The exported file is in Excel format.

View the mini program monitoring details

On the Mini program monitoring details page, you can filter the monitoring data of the current mini program by selecting the platform, client version, and time.

Mini program monitoring is classified into business monitoring and exception monitoring. Each monitoring report displays monitoring data of the last 1 hour, last 6 hours, last 12 hours, and a specified time period of the current day. By default, monitoring data of the current mini program on all platforms and versions for the last 1 hour is displayed.

To export the monitoring data of the current mini program, click Export in the upper-right corner. The exported file is in Excel format.

Business monitoring

The business monitoring section displays the number of PVs, the number of active users, and their trends of a mini program within a specified time range.

Exception monitoring

The exception monitoring section displays the monitoring data of exceptions that affect user experience and the trends within a specified time range. The monitoring data includes the number of in-app open exceptions, the white screen rate, the exception rate, the number of exceptions in JS API calls, and the exception rate of requests for app data packets. In addition, the health degree of mini program pages is monitored in three dimensions: the page load speed, page stability, and the success rate of external service calls (API calls).

Metrics

Metric

Description

Judgment description

New users

The number of new users (indicated by device IDs) who visited the mini program.

-

Active users

The total number of users (indicated by device IDs) who visited the mini program. If a user visited the mini program more than once, the user is counted as one user only.

app.launch

Startup times

The total number of times that the mini program was started. The process from a user opening the mini program to the user closing the mini program or the mini program exits due to timeout is counted as one startup time.

-

Time-consuming to start

The time-consuming required for the mini program to open.

tiny_app_launch

Cumulative users

The number of users (indicated by device IDs) who visited the mini program.

-

PVs

The total number of visits to all pages of the mini program.

auto_openPage

Limited number of page visits

The number of times the mini program component webview access link is limited.

H5_AL_NETWORK_PERMISSON_ERROR

In-app open exceptions

The number of times that exceptions occurred when users open mini program pages in an app.

H5_APP_PREPARE (errc!=1)

White screen rate

A mini program page being completely blank is referred to as a white screen.

White screen rate = Number of white screens on pages/Number of page opens x 10000‱

-

Number of white screens

The number of times the mini program page is opened with a white screen.

H5_PAGE_ABNORMAL

Number of JS exceptions

Mini-program JS execution exception times.

H5_CUSTOM_ERROR

JS exception rate

JS exception rate = Number of JS exceptions/Number of PVs x 1000‰

-

Exceptions in JS API calls

The total number of exceptions in JS API requests for the mini program.

H5_AL_JSAPI_RESULT_ERROR

request abnormal number

The number of failed my.request/my.httpRequest requests.

H5_AL_JSAPI_RESULT_ERROR

Exception rate of requests for app data packets

Exception rate of requests for app data packets = Number of exceptions in requests for app data packets/Total number of requests for app data packets

-

Application pull request exception- android

The mini program information pull request is abnormal.

H5_APP_REQUEST

Application pull request exception- iOS

The mini program information pull request is abnormal.

H5_APP_REQUEST

The number of resource file request exceptions

The number of failed requests for mini program resource files.

H5_AL_NETWORK_PERFORMANCE_ERROR