Overall integration steps
Step | Integrated content | Location in this article | Required | Remarks |
Step 1 | Import and Configure SDK for APM | View the document 「Import & Configure SDK」 | Required | |
Step 2 | Set Domain | View documentation [Basic integration]-> 1. Domain settings | Required | |
Step 3 | User ID | View documentation [Basic Integration]-> 2. Set a user ID | Optional | Custom user ID. After setting, the user account will be displayed in the background of the product. |
Step 4 | Initialize | View Document [Basic Integration] 3. Initialize | Required | |
Step 5 | Function toggle | View Document [Performance API]> 1. Configure feature toggle | No | You can disable crash analysis, lag analysis, startup analysis, and network analysis. , memory analysis, H5 page analysis in the application, and OOM exception tracking; if not configured, it is enabled by default. |
Step 6 | Function module configuration | View Documentation [Performance API]-> 2.1 Crash Analysis | Required | Automatic tracking after integration and the switch is not turned off. If crash callback is required, additional configuration is required. |
View Documentation [Performance API]-> 2.2 Custom Exceptions | No | To upload custom exceptions, you must manually call the | ||
View Documentation [Performance API]-> 2. 3 Lag Analysis | Required | Automatic acquisition after integration and the switch is not closed, no additional configuration is required | ||
View Documentation [Performance API]-> 2. 4 Startup Analysis | Yes | You can track data only after you configure startup monitoring. | ||
View Documentation [Performance API]-> 2. 5 Network Analysis | Yes | |||
View Documentation [Performance API]> 2. 6 Memory Analysis | Yes | |||
View Documentation [Performance API]-> 2. 7 OOM exception | No | |||
View Documentation [Performance API]-> 2. 8 H5 Page Analysis | Yes | Depends on the JS SDK. In the iOS SDK, you only need to turn on the switch | ||
View Documentation [Performance API]-> 2. 9 Native Pages | Yes | Must be configured to track native page data | ||
View Documentation [Performance API]-> 2. 10 Log retrieval | No | |||
Step 7 | Symbol table description | View Documentation [Performance API]> 3. Symbol Table Configuration | Required | If an error occurs, you must package the symbol table. |
Appendixes | SDK reporting policy | ViewDocumentation [SDK Reporting Strategy] | No |