Flashduty Docs
中文EnglishRoadmapAPI官网控制台
中文EnglishRoadmapAPI官网控制台
  1. Others
  • Introduction
  • On-call
    • Getting Started
      • Quick start
      • FAQ
      • Product Comparison
    • Incidents
      • What is an Incident
      • View Incidents
      • Handle Incidents
      • Escalations and Assignments
      • Custom Fields
      • Custom Actions
      • Alert Noise Reduction
      • Past Incidents
      • Outlier Incidents
    • Configure On-call
      • Channels
      • Integrate Alerts
      • Alert Noise Reduction
      • Escalation Rules
      • Label Enrichment
      • Schedules
      • Templates
      • Service Calendars
      • Preferences
      • Alert Routing
      • Silence and Inhibition
      • Filters
      • Notification Bots
      • Alert Pipeline
    • Advanced Features
      • Referencing Variables
      • Dynamic Assignment
      • Insights
    • Integrations
      • Alerts integration
        • Standard Alert Integration
        • Email Integration
        • Nightingale/FlashCat Integration
        • Prometheus Integration
        • Grafana Integration
        • Zabbix Integration
        • Uptime Kuma Integration
        • Alibaba Cloud ARMS Integration
        • Alibaba Cloud Monitor CM Event Integration
        • Alibaba Cloud Monitor CM Metrics Integration
        • Alibaba Cloud SLS Integration
        • AWS CloudWatch Integration
        • Azure Monitor Integration
        • Baidu Cloud BCM Integration
        • Huawei Cloud CES Integration
        • Influxdata Integration
        • Open Falcon Integration
        • PagerDuty Integration
        • Tencent BlueKing Integration
        • Tencent Cloud CLS Integration
        • Tencent Cloud Monitor CM Integration
        • Tencent Cloud EventBridge
        • OceanBase Integration
        • Graylog Integration
        • Skywalking Integration
        • Sentry Integration
        • Jiankongbao Integration
        • AWS EventBridge Integration
        • Dynatrace Integration
        • Huawei Cloud LTS Integration
        • GCP Integration
        • Splunk Alert Events Integration
        • AppDynamics Alert Integration
        • SolarWinds Alert Events Integration
        • Volcengine CM Alert Events Integration
        • Volcengine CM Event Center Integration
        • Volcengine TLS Integration
        • OpManager Integration
        • Meraki Integration
        • Keep Integration
        • ElastAlert2 Alert Integration
        • StateCloud Alert Events
        • Guance Alert Events
        • Zilliz Alert Events
        • Huawei Cloud APM Alerts
        • zstack integration
      • Change integration
        • Standard Change Event
        • Jira Issue Events
      • IM integration
        • Feishu (Lark) Integration Guide
        • Dingtalk Integration
        • WeCom Integration
        • Slack Integration
        • Microsoft Teams Integration
      • Single Sign-On
        • Authing Integration
        • Keycloak Guide
        • OpenLDAP Guide
      • Webhooks
        • Alert webhook
        • Incident webhook
        • Costom action
  • RUM
    • Getting Started
      • Introduction
      • Quick start
      • FAQ
    • Applications
      • Applications
      • SDK Integration
      • Advanced Configuration
      • Analysis Dashboard
    • Performance Monitoring
      • Overview
      • Metrics
      • Performance Analysis
      • Performance Optimize
    • Error Tracking
      • Overview
      • Error Reporting
      • Issues
      • Source Mapping
      • Error Grouping
      • Issue States
      • Issue Alerting
    • Others
      • Terminology
      • Data Collection
      • Data Security
  • Platform
    • Teams and Members
    • Permissions
    • Single Sign-On
  • Terms
    • Terms of Service
    • User Agreement/Privary Policy
    • SLA
    • Data Security
  1. Others

Data Collection

Data Collection#

Overview#

The RUM Browser SDK generates events with relevant metrics and properties. Each RUM event has all default properties, such as the URL of the page (view_url) and user information, like device type (device_type) and country (geo_country).
There are additional metrics and properties specific to a given event type. For example, the view_loading_time metric is associated with view events, while the resource_method property is associated with resource events.
Event TypeRetention PeriodDescription
Session30 daysA user session begins when a user starts browsing a web application. It contains high-level information about the user (browser, device, geolocation). It aggregates all RUM events collected during the user journey, using a unique session_id attribute. Note: Sessions reset after 15 minutes of inactivity.
View30 daysView events are generated each time a user visits a page in a web application. When a user stays on the same page, resource, long task, error, and action events are linked to the related RUM view, using the view_id attribute.
Resource15 daysResource events are generated for images, XHR, Fetch, CSS, or JS libraries loaded on a webpage. They include detailed loading time information.
Long task15 daysLong task events are generated for any task that blocks the main thread in the browser for more than 50 milliseconds.
Error30 daysRUM collects every frontend error emitted by the browser.
Action30 daysRUM action events track user interactions during their journey, and can also be sent manually to monitor custom user actions.
The following hierarchical relationship exists between the above event types:
drawing

Default Properties#

All RUM events contain the following default properties:
PropertyTypeDescription
dateIntegerTimestamp of the event in milliseconds.
typeStringType of the event (e.g., session, view, resource, error, action).
serviceStringName of the service generating this event.
application_idStringID of the application generating this event.
session_idStringSession ID.
view_idStringView ID.
action_idStringUser action ID.
contextObjectUser-defined context.

Event-Specific Metrics and Properties#

Session Metrics#

MetricTypeDescription
session_durationNumberDuration of the session in milliseconds.
session_view_countNumberNumber of views in the session.
session_action_countNumberNumber of user actions in the session.
session_error_countNumberNumber of errors in the session.
session_resource_countNumberNumber of resources in the session.
session_long_task_countNumberNumber of long tasks in the session.

Session Properties#

PropertyTypeDescription
session_typeStringType of session (e.g., user, synthetic).
session_has_replayBooleanWhether session replay is enabled.
session_is_activeBooleanWhether the session is active.
session_initial_view_idStringInitial view ID.
session_initial_view_urlStringInitial view URL.
session_initial_view_referrerStringReferrer URL of the initial view.

View Metrics#

MetricTypeDescription
view_loading_timeNumberView loading time in milliseconds.
view_first_contentful_paintNumberFirst contentful paint time in milliseconds.
view_dom_interactiveNumberDOM interactive time in milliseconds.
view_dom_completeNumberDOM complete time in milliseconds.
view_load_event_endNumberLoad event end time in milliseconds.
view_error_countNumberNumber of errors in the view.
view_resource_countNumberNumber of resources in the view.
view_long_task_countNumberNumber of long tasks in the view.
view_action_countNumberNumber of user actions in the view.

View Properties#

PropertyTypeDescription
view_urlStringView URL.
view_referrerStringReferrer URL of the view.
view_nameStringView name.

Resource Metrics#

MetricTypeDescription
resource_durationNumberResource loading time in milliseconds.
resource_sizeNumberResource size in bytes.
resource_connect_durationNumberConnection time in milliseconds.
resource_ssl_durationNumberSSL handshake time in milliseconds.
resource_dns_durationNumberDNS lookup time in milliseconds.
resource_first_byte_durationNumberTime to first byte in milliseconds.
resource_download_durationNumberDownload time in milliseconds.

Resource Properties#

PropertyTypeDescription
resource_typeStringResource type (e.g., xhr, fetch, document, script, css, image, font, media, other).
resource_methodStringHTTP method (e.g., GET, POST).
resource_status_codeNumberHTTP status code.
resource_urlStringResource URL.
resource_provider_nameStringResource provider name.
resource_provider_domainStringResource provider domain.
resource_provider_typeStringResource provider type (e.g., first-party, third-party).

Long Task Metrics#

MetricTypeDescription
long_task_durationNumberLong task duration in milliseconds.

Error Metrics#

MetricTypeDescription
error_countNumberNumber of errors.

Error Properties#

PropertyTypeDescription
error_sourceStringError source (e.g., console, network, source, logger, agent, custom).
error_typeStringError type.
error_messageStringError message.
error_stackStringError stack trace.

User Action Metrics#

MetricTypeDescription
action_loading_timeNumberUser action loading time in milliseconds.
action_long_task_countNumberNumber of long tasks in the user action.
action_resource_countNumberNumber of resources in the user action.
action_error_countNumberNumber of errors in the user action.

User Action Properties#

PropertyTypeDescription
action_idStringUser action ID.
action_typeStringUser action type (e.g., click, custom).
action_target_nameStringUser action target name.
action_nameStringUser action name.

添加官方技术支持微信

在这里,获得使用上的任何帮助,快速上手FlashDuty

微信扫码交流
上一页
Terminology
下一页
Data Security
Built with