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 program greatly affects the user experience and in turn, also 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.
As of August 26, 2024, the monitoring of new user numbers and cumulative user indicators of mini program are no longer available.
Mini Program Monitoring provides real-time monitoring of user access, mini program page stability, and external service invocations. It performs real-time statistical analysis of user access data, such as page views (PVs) and unique visitors (UVs), and their change trends. It also provides real-time monitoring to detect performance issues that affect the user experience. These issues include white screens, application startup errors, JSAPI call errors, and application package request errors. This helps you quickly locate and resolve problems.
Currently, only mPaaS mini programs are supported for monitoring and analysis. Monitoring for Alipay and WeChat mini programs is not yet supported.
View the mini program monitoring list
A single user can monitor a maximum of 100 mini programs. A user can have multiple applications, and each application can have multiple mini programs, but the total number of monitored mini programs cannot exceed 100.
Follow these steps to view the mini program monitoring list:
Log on to the console, click Products and Services > Mobile PaaS, and then select an application.
In the navigation pane on the left, choose Application Performance Management > Mini program monitoring. In the mini program list on the right, you can view today's and yesterday's data for the number of active users and launches for each mPaaS mini program.
NoteThe mini programs in the list are retrieved from the offline packages created on the mPaaS mini program platform.
In the mini program list, click a mini program name or the View link in the Actions column. This opens the mini program monitoring details page where you can view the relevant monitoring data.
You can search for a mini program using keywords.
Click the Export button in the upper-right corner of the page to export the list of monitored mini programs under the current application and their corresponding access data as an Excel file.
View mini program monitoring details
On the mini program monitoring details page, you can filter the monitoring data for the current mini program by platform, client version, and time.
Mini program monitoring is divided into Business Monitoring and Abnormal Monitoring. These sections display monitoring data for the last 1 hour, 6 hours, 12 hours, or a specified time range within the current day. By default, the monitoring data for the last hour across all platforms and versions of the current mini program is displayed.
Click the Export button in the upper-right corner of the page to export the monitoring report for the current mini program as an Excel file.
Business Monitoring
The Business Monitoring area displays the number of page views and active users for the mini program and their change trends over the specified time period.
Abnormal Monitoring
The Abnormal Monitoring area displays abnormal monitoring data that affects the user experience and its change trends over the specified time period. This includes the number of application startup errors, the white screen rate, the error rate, the number of JSAPI errors, and the number of application package request errors. The health of the mini program pages is monitored based on three aspects: page open speed, page stability, and external service invocation success rate (API).
Monitoring metrics
Monitoring metric | Description |
Active users | The total number of users (device IDs) that access the mini program. Multiple visits from the same user are not counted repeatedly. |
Startup times | The total number of times the mini program is launched. The process from when a user opens the mini program until it is actively closed or times out is counted as one launch. |
PVs | The total number of visits to all pages of the mini program. |
In-application open exceptions | The number of times an error occurs when a user opens a mini program page in the application. |
White screen rate | A white screen means a mini program page has no content and is completely blank. White screen rate = Number of white screens / Number of page opens × 10000‱ |
JSAPI exception error rate | JS error rate = Number of JS errors / Page views × 1000‰ |
JS exception count | The total number of JSAPI request errors for the mini program. |
Exception rate of requests for application packets | Application package request error rate = Number of application package request errors / Total number of application package requests |