Skip to main content

Mini Program Monitoring

MP (Mini Program) JS SDK is a lightweight monitoring agent designed specifically for mini program platforms. By embedding JavaScript code in mini programs, it collects real-time page performance, API calls, error information, and other data to help you fully understand the operational status and user experience of mini programs. 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 page load time, rendering duration, network request performance and other key metrics
  • Error Monitoring: Automatically capture JS runtime errors, API call failures, resource loading exceptions and other issues
  • API Tracking: Monitor response time, success rate and error details of network requests
  • User Analysis: Record user operation behavior, device information, geographic distribution, etc., to reproduce problem scenarios

Platform Support

Supports mainstream mini program platforms:

  • WeChat Mini Program
  • Alipay Mini Program
  • DingTalk Mini Program
  • Baidu Mini Program
  • JD Mini Program

Tip: After deploying the agent and publishing the mini program, 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.