- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Real User Monitoring (RUM) allows you to capture events that occur in your browser and mobile applications using the Datadog RUM SDKs and collect data from events at a sample rate. Datadog retains this event data in the RUM Explorer, where you can create search queries and visualizations.
RUM-based custom metrics are a cost-efficient option to summarize the data from your set of RUM events. You can visualize trends and anomalies across your RUM data at a granular level for up to 15 months.
Billing Note: Metrics created from RUM events are billed as Custom Metrics.
To create a custom metric from RUM event data, navigate to Digital Experience > Application Management > Generate Metrics and click + New Metric.
To create a custom metric from a search query in the RUM Explorer, click the Export button and select Generate new metric from the dropdown menu.
Give your custom metric a name that does not start with datadog.estimated_usage
, such as rum.sessions.count_by_geography
. For more information, see the naming convention.
Select an event type you want to create a custom metric for, such as Sessions
. Your options include Sessions, Views, Actions, Errors, Resources, and Long Tasks. For more information, see Search RUM Events.
Create a search query that filters your RUM events using the RUM Explorer’s search syntax such as @session.type:user
.
Choose a field to track from the dropdown menu next to Count.
*
to generate a count of all RUM events that match your search query.@action.target
to aggregate a numeric value and create a corresponding count
or distribution
metric.If the RUM attribute facet is a measure, the metric value is the RUM attribute value.
Select a path to group by from the dropdown menu next to group by. The metric tag name is the original attribute or tag name without the @
. By default, custom metrics generated from RUM events do not contain tags unless they are explicitly added. You can use an attribute or tag dimension that exists in your RUM events such as @error.source
or env
to create metric tags.
For custom metrics created on sessions and views, select The active session/view starts matching the query or The session/view becomes inactive or is completed to set the matching criteria for sessions and views. For more information, see Add a RUM-based metric on sessions and views.
Add percentile aggregations for distribution metrics. You can opt-in for advanced query functionality and use globally accurate percentiles (such as P50, P75, P90, P95, and P99).
Click Create Metric.
Your RUM-based custom metric appears in the list below Custom RUM Metrics, and there may be a short delay for your metric to become available in dashboards and monitors.
Data points are not created for metrics with historical data. Data points for your RUM-based custom metric generate on a ten second interval. Metrics data is retained for 15 months.
Sessions and views are considered active when there is ongoing application or user activity in a RUM application. For example, as a user opens new pages, these pageviews are collected in the user session. As a user interacts with buttons on a page, these actions are collected in the pageviews.
Let’s assume you have a RUM-based custom metric that counts the number of user sessions containing more than five errors, and a session ID 123
that reaches five errors at 11 AM and closes at 12 PM.
You can generate a count metric of RUM events that match a query or a distribution metric of a numeric value contained in RUM events, such as the request duration.
To update a metric, hover over a metric and click the Edit icon to the right hand corner.
Because you cannot rename an existing metric, Datadog recommends creating another metric.
In order to stop the computing of data points from your custom metric and billing, hover over a metric and click the Delete icon to the right hand corner.
You can use RUM-based custom metrics for the following actions:
추가 유용한 문서, 링크 및 기사: