Updated on 2025-12-29 GMT+08:00

Connecting Agents

Procedure

  1. Log in to the APM console.
  2. Click on the left and choose Management & Governance > Application Performance Management.
  3. In the navigation tree on the left, choose App Monitoring > App List. On the displayed page, click Connect Mobile App.
  4. Select Harmony for App Type. Select an application from the drop-down list and enter a mobile app name.
  5. Select one or more SDK extended configuration items. You can also select no items. Data of unselected items will not be displayed.
  6. Click Create Mobile App.
  7. Track the service.

    • HarmonyOS SDK access
      1. Click Download to download the configuration file.
      2. Place the file to the rawfile folder in the resource directory of the project.
        Figure 1 Root directory of the HarmonyOS project
      3. Add SDK dependencies.
        • Run this command in your terminal:
          ohpm install apm_harmony_sdk