RUM

---
icon: zy/real-user-monitoring
---
# Real User Monitoring (RUM)
---

<!--


<video controls="controls" poster="https://static.guance.com/dataflux/help/video/rum.png" >
      <source id="mp4" src="https://static.guance.com/dataflux/help/video/rum.mp4" type="video/mp4">
</video>


-->
Real User Monitoring (RUM) is a real-time monitoring technology used to track user behavior and performance in web, mobile, and desktop applications.

- **User Behavior**: RUM captures real user operation data in 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 exceptions in applications in real time for quick identification and resolution.
- **User Experience**: Analyzes user behavior from multiple dimensions (e.g., user journeys, Session Replay) to gain deep insights into user habits and improve application quality.
- **Multi-platform Support**: Suitable for real-time monitoring of web, mobile (iOS, Android), Windows desktop apps, and various platforms.

## Data Sources

Use RUM Headless automated deployment to collect user access data from web, Android, iOS, Windows, mini programs, and third-party frameworks.

![](img/rum-arch_1.png)

## How to Enable

1. Deploy a public DataKit as an Agent to report client data to the workspace.
2. [Install DataKit](../datakit/datakit-install.md).
3. After installation, enable the [RUM Collector](../integrations/rum.md).
4. [Configure application access](#get-applications) to start collecting user access data.

## Configure {#create}

Go to **RUM > Application List > Create Application**.

![](img/rum_get_started.png)

### Access Application {#get-applications}

:material-numeric-1-circle: [Web](web/app-access.md)            
:material-numeric-2-circle: [Android](android/app-access.md)            
:material-numeric-3-circle: [iOS/tvOS/macOS](ios/app-access.md)       
:material-numeric-4-circle: [Mini Programs](miniapp/app-access.md)       
:material-numeric-5-circle: [React Native](react-native/app-access.md)      
:material-numeric-6-circle: [Flutter](flutter/app-access.md)     
:material-numeric-7-circle: [UniApp](uni-app/app-access.md)            
:material-numeric-8-circle: [Windows](windows/app-access.md)<br>
:material-numeric-9-circle: [C++](cpp/app-access.md)<br>
:material-numeric-10-circle: [Unity](unity/app-access.md)

???+ warning "Changing the Application ID"

    - After the SDK update succeeds, the new analysis views and explorer lists will only display data associated with the new `app_id`; data from the old application ID will no longer be shown.
    - RUM metric detection monitors must be updated to the new application ID configuration, or recreate metric detection based on the new `app_id` data.
    - Old application ID data can still be viewed and analyzed through RUM built-in views, custom dashboards, or the DQL tool.
    - If no associated analysis dashboard is configured when creating a custom application, you will not be able to navigate to the analysis dashboard.

## Session Replay

RUM focuses on user operations and sessions, capturing user sessions from web, mini programs, Android, iOS, and other applications. [Session Replay](./session-replay/index.md) uses modern browser APIs to capture user operation data in real time and replay the operation path, effectively reproducing and resolving errors.

## Data Analysis

### Explorer {#explorer}

After data collection, besides using analysis dashboards, you can use the [Explorer](./explorer/index.md) to dive deeper into details of each user session, page performance, errors, and more, gaining full insight and optimizing application status and user experience.

![](img/explorer-rum.gif)

### Analysis Dashboard {#panel}

**RUM > [Analysis Dashboard](./app-analysis.md)** covers multiple analysis scenarios across different platforms, presenting various metrics from performance, resources, and errors. You can use key performance indicators to understand real user front-end experience, quickly locate application access issues, and improve user access performance.

![](img/panel-rum.gif)

## Distributed Tracing

RUM supports configuring [custom tracing](./self-tracking.md) tasks to monitor trace paths in real time for precise root cause analysis, ensuring complete trace context propagation across environments to prevent context loss and trace interruption. It also supports zero-code end-to-end testing through browser plugins for quick verification and troubleshooting.

## Generate Metrics

Facing massive raw data, **RUM > [Generate Metrics](../metrics/generate-metrics.md)** quickly simplifies multi-dimensional analysis workflows, helping DevOps teams and business teams process data efficiently. This feature automatically generates metrics from existing data in the current workspace, integrates with custom dashboards in real time, supports periodic statistics by dimension, accelerates data insights, and improves decision-making efficiency.

Feedback

Is this page helpful?