---
title: Real User Monitoring Monitor
description: >-
  Monitor real user performance and errors across web and mobile applications
  using RUM data to improve customer experience.
breadcrumbs: Docs > Monitors > Monitor Types > Real User Monitoring Monitor
---

# Real User Monitoring Monitor

## Overview{% #overview %}

Datadog's [Real User Monitoring (RUM)](https://docs.datadoghq.com/real_user_monitoring/) provides real-time visibility into individual user activity for web and mobile applications. It addresses performance tracking, error management, analytics, and support use cases. With [RUM without Limits™](https://docs.datadoghq.com/real_user_monitoring/rum_without_limits), you can use metric-based monitors to alert on your full unsampled traffic, with 15 months' worth of data to power advanced alerting conditions such as anomaly detection.

After you enable RUM for your organization, you can create a RUM monitor to alert you when a specific RUM event type exceeds a predefined threshold over a given period of time.

## Create a RUM monitor{% #create-a-rum-monitor %}

To create a RUM monitor in Datadog, first navigate to [**Monitors** > **New Monitor** > **Real User Monitoring**](https://app.datadoghq.com/monitors/create/rum).

{% alert level="info" %}
There is a default limit of 1000 RUM monitors per account. If you are encountering this limit, consider using [multi alerts](https://docs.datadoghq.com/monitors/configuration/?tab=thresholdalert#alert-grouping), or [Contact Support](https://docs.datadoghq.com/help/).
{% /alert %}

Next, choose one of the following methods to create your monitor:

- **Start with a template**: Datadog provides several pre-built templates for common RUM monitoring scenarios like error rates, performance vitals, or availability checks. Browse the [full template gallery](https://app.datadoghq.com/monitors/templates?q=real%20user%20monitoring&origination=installed&p=1) to get started.
- **Build a custom monitor**: Choose from out-of-the-box metrics or custom metrics, then scope to your application, specific pages, or views.

### Define the search query{% #define-the-search-query %}

As you expand your search filters, the graph above the search bar updates.

1. Construct a search query using the same logic as a [RUM Explorer search](https://docs.datadoghq.com/real_user_monitoring/explorer/search/).

1. Choose to monitor over [full traffic metrics or retained events](https://docs.datadoghq.com/real_user_monitoring/guide/alerting-with-rum/#choosing-between-monitoring-metrics-and-events).

1. Choose to monitor over a RUM event count, [facet](https://docs.datadoghq.com/real_user_monitoring/explorer/?tab=facets#setup-facets-measures), or [measure](https://docs.datadoghq.com/real_user_monitoring/explorer/?tab=measures#setup-facets-measures).

   - **Monitor over a RUM event count**: Use the search bar (optional) and do **not** select a facet or measure. Datadog evaluates the number of RUM events over a selected time frame, then compares it to the threshold conditions.
   - **Monitor over a facet**: If you select a [facet](https://docs.datadoghq.com/real_user_monitoring/explorer/?tab=facets#setup-facets-measures), the monitor alerts over the `Unique value count` of the facet.
   - **Monitor over measure**: If you select a [measure](https://docs.datadoghq.com/real_user_monitoring/explorer/?tab=measures#setup-facets-measures), the monitor alerts over the numerical value of the RUM facet (similar to a metric monitor). Select an aggregation type (`min`, `avg`, `sum`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, or `max`).

1. Group RUM events by multiple dimensions (optional): All RUM events matching the query are aggregated into groups based on the value of up to four facets. When there are multiple dimensions, the top values are determined according to the first dimension, then according to the second dimension within the top values of the first dimension, and so on up to the last dimension. The dimensions limit depends on the total number of dimensions:

   - **1 facet**: 1000 top values
   - **2 facets**: 30 top values per facet (at most 900 groups)
   - **3 facets**: 10 top values per facet (at most 1000 groups)
   - **4 facets**: 5 top values per facet (at most 625 groups)

1. Add multiple queries and apply formulas and functions (optional):

   - **Multiple queries**: Click **Add Query** to analyze multiple different sets of RUM data in relation to each other.
   - **Formulas and functions**: After adding your desired queries, click the **Add Function** icon to add a mathematical computation. The example below calculates the error rate on a cart page using the formula `(a/b)*100`.

   {% image
      source="https://datadog-docs.imgix.net/images/monitors/monitor_types/rum/rum_multiple_queries_3.dcc9fb59cc4802850a89bd687f7edde0.png?auto=format"
      alt="A monitor configured to alert on the error rate of a cart page. This monitor has two queries (a and b) and contains a formula: (a/b)*100." /%}

Optionally, you can add a [custom schedule](https://docs.datadoghq.com/monitors/guide/custom_schedules/?tab=day) to set a specific evaluation time and control the evaluation frequency of your monitor.

### Set alert conditions{% #set-alert-conditions %}

An alert is triggered whenever a metric crosses a threshold.

- Triggers when the metric is `above`, `above or equal to`, `below`, or `below or equal to`.
- The threshold during the last `5 minutes`, `15 minutes`, `1 hour`, or `custom` to set a value between 5 minutes and 48 hours.
- Alert threshold `<NUMBER>`.
- Warning threshold `<NUMBER>`.

#### No data and below alerts{% #no-data-and-below-alerts %}

To receive a notification when an application has stopped sending RUM events, set the condition to `below 1`. This notifies when no RUM events match the monitor query in a given time frame across all aggregate groups.

When splitting the monitor by any dimension (tag or facet) and using a `below` condition, the alert is triggered **if and only if** there are RUM events for a given group, and the count is below the threshold—or if there are no RUM events for **all** of the groups.

#### Alerting examples{% #alerting-examples %}

For example, this monitor triggers if and only if there are no RUM events for all applications:

{% image
   source="https://datadog-docs.imgix.net/images/monitors/monitor_types/rum/rum_monitoring_by_application_id-1.21b66ba6bc393b8e433abeaf18ada233.png?auto=format"
   alt="The monitor configuration page with the search query left blank, set to the count of all RUM events and grouped by @application.id over the last 5 minutes. The Set alert conditions section is configured to trigger when the value is below the threshold of 1, and if data is missing for more than 5 minutes it is configured to evaluate as zero" /%}

This monitor triggers if there are no logs for the application `Shop.ist`:

{% image
   source="https://datadog-docs.imgix.net/images/monitors/monitor_types/rum/rum_monitoring_by_shopist-1.5ec5b0787fa15d04d0dfd80ec4e69e36.png?auto=format"
   alt="The monitor configuration page with Application Id:Shopist entered in the search query, set to the count of all RUM events matching that application over the last 5 minutes. The Set alert conditions section is configured to trigger when the value is below the threshold of 1, and if data is missing for more than 5 minutes it is configured to evaluate as zero" /%}

#### Advanced alert conditions{% #advanced-alert-conditions %}

For more information about advanced alert options such as evaluation delay, see [Configure Monitors](https://docs.datadoghq.com/monitors/configuration/#advanced-alert-conditions).

### Notifications{% #notifications %}

For more information about the **Configure notifications and automations** section, see [Notifications](https://docs.datadoghq.com/monitors/notify/).

### Permissions and audit notifications{% #permissions-and-audit-notifications %}

For more information about the **Define permissions and audit notifications** section, see [Permissions](https://docs.datadoghq.com/monitors/configuration/?tab=evaluateddata#permissions).

## Further reading{% #further-reading %}

- [Explore your RUM data](https://docs.datadoghq.com/real_user_monitoring/explorer/)
- [Configure your monitor notifications](https://docs.datadoghq.com/monitors/notify/)
- [Schedule a downtime to mute a monitor](https://docs.datadoghq.com/monitors/downtimes/)
- [Check your monitor status](https://docs.datadoghq.com/monitors/status/)
