tencent cloud

Tencent Cloud Observability Platform

Release Notes and Announcements
Release Notes
Product Introduction
Overview
Strengths
Basic Features
Basic Concepts
Use Cases
Use Limits
Purchase Guide
Tencent Cloud Product Monitoring
Application Performance Management
Mobile App Performance Monitoring
Real User Monitoring
Cloud Automated Testing
Prometheus Monitoring
Grafana
EventBridge
PTS
Quick Start
Monitoring Overview
Instance Group
Tencent Cloud Product Monitoring
Application Performance Management
Real User Monitoring
Cloud Automated Testing
Performance Testing Service
Prometheus Getting Started
Grafana
Dashboard Creation
EventBridge
Alarm Service
Cloud Product Monitoring
Tencent Cloud Service Metrics
Operation Guide
CVM Agents
Cloud Product Monitoring Integration with Grafana
Troubleshooting
Practical Tutorial
Application Performance Management
Product Introduction
Access Guide
Operation Guide
Practical Tutorial
Parameter Information
FAQs
Mobile App Performance Monitoring
Overview
Operation Guide
Access Guide
Practical Tutorial
Tencent Cloud Real User Monitoring
Product Introduction
Operation Guide
Connection Guide
FAQs
Cloud Automated Testing
Product Introduction
Operation Guide
FAQs
Performance Testing Service
Overview
Operation Guide
Practice Tutorial
JavaScript API List
FAQs
Prometheus Monitoring
Product Introduction
Access Guide
Operation Guide
Practical Tutorial
Terraform
FAQs
Grafana
Product Introduction
Operation Guide
Guide on Grafana Common Features
FAQs
Dashboard
Overview
Operation Guide
Alarm Management
Console Operation Guide
Troubleshooting
FAQs
EventBridge
Product Introduction
Operation Guide
Practical Tutorial
FAQs
Report Management
FAQs
General
Alarm Service
Concepts
Monitoring Charts
CVM Agents
Dynamic Alarm Threshold
CM Connection to Grafana
Documentation Guide
Related Agreements
Application Performance Management Service Level Agreement
APM Privacy Policy
APM Data Processing And Security Agreement
RUM Service Level Agreement
Mobile Performance Monitoring Service Level Agreement
Cloud Automated Testing Service Level Agreement
Prometheus Service Level Agreement
TCMG Service Level Agreements
PTS Service Level Agreement
PTS Use Limits
Cloud Monitor Service Level Agreement
API Documentation
History
Introduction
API Category
Making API Requests
Monitoring Data Query APIs
Alarm APIs
Legacy Alert APIs
Notification Template APIs
TMP APIs
Grafana Service APIs
Event Center APIs
TencentCloud Managed Service for Prometheus APIs
Monitoring APIs
Data Types
Error Codes
Glossary

Real User Monitoring

PDF
Focus Mode
Font Size
Last updated: 2024-10-17 21:12:42
This document describes how to quickly get started with RUM.

Step 1. Create a business system

1. Log in to the RUM console.
2. On the left sidebar, click Application Management > Business System.
3. On the business system management page, click Create Business System. In the pop-up window, enter the business name and indicate your consent to the agreement.

Step 2. Connect an application

1. Log in to the RUM console.
2. On the left sidebar, click Data Overview.
3. On the data overview page, click Application Connection and configure the application information as detailed below:
Configuration Item
Description
Application Name
Enter a custom application name, which identifies the application in the RUM console.
Application Description
Enter an application description such as usage and overview, which helps other users better understand this application.
Application Type
RUM supports connection to web, mini program (WeChat and QQ), Hippy, Weex, and React Native applications.
Application Repository Address (optional)
Enter the address of your application repository, which is optional.
Business System
This feature is used to manage your connected applications by category. For example, you can categorize your applications by conditions such as development team, business logic, and application type. If you have no available teams, click Create on the right, enter the relevant information, and click OK to create one.
Enable Auto URL Aggregation
After it is enabled, URLs with the same domain will be aggregated for analysis; for example, app.qq.com/user/123/index.html and app.qq.com/user/456/index.html will be aggregated into app.qq.com/user/*/index.html.
Sample Rate
It indicates the percentage of user performance data (tested page, API, and static resource speeds) to be reported. 100% indicates that no data will be sampled, and 0% indicates that no performance data will be imported.
4. After completing the configuration, click Next and select a method to install the SDK as detailed below:
Install the SDK through npm (supported for all application types). The followings steps use a web application as an example to describe how to connect to the SDK through npm. i. On the connection guide page, copy the first command line to import the npm package.

ii. On the connection guide page, copy the provided code to initialize the SDK.


Connect to the SDK by importing the <script> tag (supported only for web applications). i. On the connection guide page, copy the provided <script> tag code. ii. Import the code below <script> tag import into the <head></head> tags.


Note:
After completing the above steps for connection, you can use the data overview, page performance, exception analysis, page view (PV and UV), API monitoring, and static resource features. If you want to use the log query, offline log, custom speed test, and custom event features, you need to report the data as instructed in the connection guide.

Step 3. View the monitoring data

After your application is connected successfully and reports a certain amount of data, you can go to the RUM console to view monitoring data such as exception analysis, page performance, and page view.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback