Skip to content

Real User Monitoring (RUM)


RUM is a real-time monitoring technology used to monitor user behavior and performance in Web, mobile, and desktop applications.

  • User behavior: RUM captures real user action data from Web, mobile, and desktop applications, including page load time, network requests, user interactions, and error information.
  • Performance analysis: Helps developers and enterprises analyze application performance, identify performance bottlenecks, and optimize user experience.
  • Error management: Tracks and records errors and anomalies in applications in real time, making it easy to quickly locate and resolve issues.
  • User experience: Through multidimensional analysis of user behavior (such as user journeys and Session Replay), gain in-depth understanding of user usage habits and improve application quality.
  • Multi-platform support: Suitable for real-time monitoring needs of Web, mobile applications (iOS, Android), Windows desktop applications, and multiple platforms.

Data Sources

RUM Headless automates deployment and collects user access data from Web, Android, iOS, Windows, Mini Programs, and third-party frameworks.

How to Enable

  1. Deploy a public DataKit as an Agent to report client data to the workspace;
  2. Install DataKit;
  3. After installation, enable the RUM Collector;
  4. Integrate your application to start collecting user access data.

Application List

Go to RUM > Application List. Created applications are displayed as cards, making it easy to browse and locate the application to analyze. For how to create an application, see Configure.

Using the "Workspace" selector at the top, you can view applications in multiple authorized workspaces within the same site. Each card displays the source workspace; applications with the same name or the same application ID in different workspaces are still displayed separately. List search, filtering, and statistics are based on the currently selected workspace scope.

When you open the Explorer, Analysis Dashboard, or heatmap, the query workspace scope and the source information of the selected application are retained. For how to select applications for cross-workspace queries, see Workspace and Application Scope.

When you select multiple workspaces, or select only a workspace other than the current login workspace, the page is read-only; you cannot create, edit, or delete applications or modify SourceMap or settings. To manage an application, go to the workspace to which the application belongs and select only the current workspace. For related conditions, see Cross-workspace query notes.

Configure

Go to RUM > Application List > Create Application.

Application Integration

All application types support the following two integration methods:

  • Automatic Agent Integration: Copy the prompt generated in the console and provide it to a coding assistant in the application code repository; the Agent completes the configuration according to the integration guide.
  • Manual Integration: Follow the SDK documentation for the application type to complete installation, initialization, and data reporting configuration yourself.

Select an application type to view the corresponding integration steps:

Web
Android
iOS/tvOS/macOS
Mini Program
React Native
Flutter
UniApp
Windows
C++
Unity
:material-numeric-11-circle: HarmonyOS
:material-numeric-12-circle: Cocos Creator
:material-numeric-13-circle: Electron

Only Web applications additionally support automatic server-side integration, which injects the SDK through Nginx or IIS.

Changing the Application ID
  • After the SDK is updated successfully, new analysis views and Explorer lists display only data associated with the latest app_id; data for the old application ID is no longer displayed;
  • RUM metric detection monitors must be updated promptly to the latest application ID configuration, or recreated based on data for the new app_id;
  • Data for the old application ID can be viewed and analyzed through RUM built-in views, custom dashboards, or the DQL tool;
  • If no associated analysis dashboard is added when configuring a custom application, you cannot navigate to the analysis dashboard.

Session Replay

RUM centers on user actions and sessions and can capture user sessions in Web, Mini Programs, Android, iOS, and other applications. Session Replay uses modern browser APIs to capture user action data in real time and replay action paths, effectively reproducing and resolving errors.

Data Analysis

Explorer

After data collection is complete, in addition to using analysis dashboards, you can use the Explorer to examine detailed data such as each user session (Session), page performance (View), and errors (Error), so you can fully understand and optimize the application's running status and user experience.

Analysis Dashboard

RUM > Analysis Dashboard covers multiple analysis scenarios across different client platforms, presenting multiple metrics from the three aspects of performance, resources, and errors. You can use key performance metrics to understand users' real frontend experience, quickly locate issues in user access to the application, and improve user access performance.

User Analytics

In User Analysis > User Analytics, view aggregated data such as sessions, pages, actions, errors, and Long Task data within the selected time range by user identifier. Use user search and environment filters to locate affected users, then drill down from details to sessions, errors, or replayable Sessions to analyze the access issues users experienced.

Single-application analysis is supported by default; cross-application analysis requires unified user identifier rules within the same workspace and the corresponding query capability enabled. For specific conditions, see Prerequisites and Scope.

Distributed Tracing

RUM supports configuring custom tracking tasks to monitor trace paths in real time and enable precise root cause analysis. It ensures complete propagation of trace context across different environments to prevent trace interruptions caused by context loss. It also supports zero-code end-to-end testing through a browser extension, making it easy to quickly verify and troubleshoot issues.

Generate Metrics

When dealing with massive raw data, RUM > Generate Metrics can quickly simplify multidimensional analysis workflows, helping Dev & Ops teams and business stakeholders process data efficiently. This feature automatically generates metrics based on existing data in the current workspace and integrates with custom dashboards in real time. It supports periodic statistics by dimension, accelerating data insights and improving decision-making efficiency.