ARMS Real User Monitoring supports popular mini programs, including those on Alipay, WeChat, DingTalk, QQ, Douyin, Baidu, and JD.com. It also supports applications built with cross-platform frameworks like Taro and Uniapp that compile to mini programs. You can integrate an npm package to collect performance metrics and trace exceptions during runtime to improve your application's user experience.
RUM has been available for commercial use since 00:00:00 (UTC+8), June 24, 2024. For pricing details, see Billing. For technical support, join the DingTalk group (ID: 67370002064).
Create an application
Log on to the ARMS console.
-
In the navigation pane, choose . In the top menu bar, select a region.
-
On the Applications page, click Add Application.
-
In the Create Application panel, click Mini Program.
-
In the Mini Program panel, enter an Application Name and a Description, and then click Create.
NoteApplication names must be unique.
A pid and an endpoint are automatically generated after the application is created.
-
Install the probe SDK.
Currently, the mini program probe can be integrated only via an npm package.
-
Install the npm package.
npm install @arms/rum-miniapp -
Initialize the SDK.
NoteReplace the values for
pidandendpointin the following code with the corresponding values for your application from the console.import ArmsRum from '@arms/rum-miniapp'; ArmsRum.init({ pid: "YOUR_PID", endpoint: "YOUR_ENDPOINT" });
-
-
Configure the secure domain name.
Add your application's endpoint to the server domain name whitelist.
Example endpoint:
https://aokcd*****-default-cn.rum.aliyuncs.com
Related topics
ARMS Real User Monitoring provides various SDK configuration options. For more information, see SDK configuration reference.