tencent cloud

腾讯云可观测平台

动态与公告
产品动态
产品简介
产品概述
产品优势
基本功能
基本概念
应用场景
使用限制
购买指南
云产品监控
应用性能监控
终端性能监控
前端性能监控
云拨测
Prometheus 监控服务
Grafana 服务
事件总线
云压测
快速入门
监控概览
实例分组
云产品监控
应用性能监控
云拨测
云压测
Prometheus 监控服务
Grafana 服务
创建 Dashboard
事件总线
告警服务
云产品监控
云产品监控指标
控制台操作指南
云服务器监控组件
云产品监控对接 Grafana
故障处理
实践教程
应用性能监控
应用性能监控简介
接入指南
控制台操作指南
实践教程
参考信息
常见问题
终端性能监控
终端性能监控概述
控制台操作指南
接入指南
实践教程
前端性能监控
前端性能监控简介
控制台操作指南
接入指南
常见问题
云拨测
产品简介
控制台操作指南
常见问题
云压测
云压测概述
控制台操作指南
实践教程
JavaScript API 列表
常见问题
Prometheus 监控
Prometheus 监控简介
接入指南
控制台操作指南
实践教程
Terraform
常见问题
Grafana 服务
产品简介
控制台操作指南
Grafana 平台常用功能指引
常见问题
Dashboard
什么是 Dashboard
控制台操作指南
告警管理
控制台操作指南
故障处理
常见问题
事件总线
事件总线简介
控制台操作指南
实践教程
常见问题
报表管理
常见问题
腾讯云可观测平台常见问题
告警服务相关
一般性问题
监控图表相关
云服务器监控组件相关
动态阈值告警相关
云监控对接 Grafana 相关
文档阅读指南
相关协议
应用性能监控服务等级协议
APM 隐私协议
APM 数据处理和安全协议
前端性能监控服务等级协议
终端性能监控服务等级协议
云拨测服务等级协议
Prometheus 监控服务服务等级协议
Grafana 服务服务等级协议
云压测服务等级协议
云压测使用限制
Cloud Monitor Service Level Agreement
词汇表
文档腾讯云可观测平台

Real User Monitoring

聚焦模式
字号
最后更新时间: 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.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈