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 in Web, mobile, and desktop applications, including page load times, 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 exceptions in applications in real time, making it easy to quickly identify and resolve issues.
- User Experience: Analyzes user behavior from multiple dimensions (such as user journeys and Session Replay) to gain deep insight into user usage habits and improve application quality.
- Multi-platform Support: Suitable for the real-time monitoring needs of Web, mobile apps (iOS, Android), Windows desktop apps, and a variety of platforms.
Data Sources¶
Through automated RUM Headless deployment, collect RUM data from Web, Android, iOS, Windows, Mini Programs, and third-party frameworks.
How to Enable¶
- Deploy a public DataKit as an Agent to report client data to the Workspace;
- Install DataKit;
- After installation is complete, enable the RUM Collector;
- Configure application integration and start collecting RUM data.
Applications¶
Go to RUM > Applications. Created applications are displayed as cards for easy browsing and locating the applications to analyze. For how to create an application, see Configure.
Use the "Workspace" selector at the top to 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, and list search, filtering, and statistics are based on the currently selected Workspace scope.
When you enter Explorer, Analysis Dashboard, or Heatmap, the query Workspace scope and source information of the selected applications are retained. For how to select applications for cross-workspace queries, see Workspace and Application Scope.
When multiple Workspaces are selected, or only a Workspace other than the one you are currently signed in to is selected, the page is read-only, and you cannot create, edit, or delete applications or modify SourceMap or settings. To manage applications, go to the Workspace to which the application belongs and select only the current Workspace. For related conditions, see Cross-workspace query documentation.
Configure¶
Go to RUM > Applications > Create Application.
Application Integration¶
All application types support the following two integration methods:
- Agent Auto-Integration: Copy the prompt generated by the console and provide it to the 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 Server Auto-Integration, injecting the SDK through Nginx, IIS, or Tomcat.
Changing Application ID
- After the SDK is successfully updated, new analysis views and Explorer lists display only data associated with the latest
app_id; old Application ID data is no longer displayed; - Monitors for RUM metric detection must be promptly updated to the latest Application ID configuration, or metric detection based on the new
app_iddata must be re-created; - Old Application ID data 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 focuses on user actions and sessions and can capture user sessions in Web, Mini Program, 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 Explorer to gain insight into 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 clients, presenting multiple metrics from three aspects: performance, resources, and errors. You can use key performance metrics to understand users' real frontend experience, quickly identify issues users encounter when accessing the application, and improve user access performance.
User Analysis¶
In User Analysis > User Analysis, view aggregated data such as sessions, pages, actions, errors, and Long Tasks within the selected time range by user identifier. Locate affected users using user search and environment filters, then drill down from the 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 enabling the corresponding query capability. For specific conditions, see Prerequisites and Scope.
Distributed Tracing¶
RUM supports configuring custom tracing tasks to monitor traces 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; and it supports zero-code end-to-end testing through a browser extension for quick verification and troubleshooting.
Generate Metrics¶
When dealing with massive amounts of 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.



