Skip to main content

HarmonyOS NEXT Application Monitoring

HarmonyOS NEXT SDK is a lightweight monitoring agent specifically designed for Huawei's next-generation HarmonyOS operating system. It integrates quickly through the ohpm package manager and collects real-time application performance, network requests, error information, and other data to help you fully understand the operational status and user experience of HarmonyOS NEXT applications. This document will guide you through the quick integration and configuration of the SDK.

Prerequisites

If you have not yet created an account and application project, please complete registration and project creation before continuing with this documentation.

Core Features

The SDK provides the following core monitoring capabilities:

  • Performance Monitoring: Collect application startup time, page loading, UI rendering and other performance data
  • Network Monitoring: Support performance and success rate monitoring for network libraries such as Axios and HTTP
  • Error Monitoring: Automatically capture application exceptions and error information
  • User Analysis: Record user operation behavior, device information, session tracking, etc., to reproduce problem scenarios

Integration Method

Supports quick integration through ohpm package manager:

  • One-Click Installation: Quick installation via ohpm install command
  • Simple Initialization: Start monitoring with one line of code in the entry Ability
  • TypeScript Support: Complete TypeScript type definitions for better development experience

Technical Requirements

  • System Version: Minimum support API 11 (HarmonyOS NEXT Developer Preview2)
  • Development Language: Supports ArkTS/TypeScript
  • Network Libraries: Supports mainstream network libraries such as Axios and HTTP

Tip: After integration and running the application, monitoring data will typically be visible in the console within 5 minutes.

Quick Start

Please refer to Deployment Guide for detailed integration steps, or check API Documentation for advanced configuration options.