Investigate Regressions and Alerts with Bits AI

This product is not supported for your selected Datadog site. ().

Overview

When a performance metric suddenly degrades, you can get to the root cause in two ways:

Investigate an anomaly on a vital chart

RUM runs anomaly detection on the Core Web Vitals charts of the RUM summary page for browser applications. When a vital degrades unexpectedly, RUM highlights the time range of the anomaly on the chart and displays an Anomaly · Investigate button below it.

A First Contentful Paint chart with an anomalous window highlighted in pink and an Anomaly · Investigate button below the chart.

To start an investigation, click Anomaly · Investigate. A Bits Investigation opens in a new tab with the vital, the active query and view, the chart timeframe, and the start and end of the anomaly. Bits compares the anomalous window with the surrounding periods to explain what changed, and which releases, pages, or user segments were affected.

Note: Only degradations are highlighted, such as an increase in Largest Contentful Paint or Cumulative Layout Shift. Improvements are not flagged as anomalies.

Automatically investigate RUM monitor alerts

Bits Investigation supports RUM monitors. When you enable automatic investigations on a RUM monitor, Bits starts an investigation every time the monitor transitions to the alert state, so the root cause and its evidence are ready when your on-call engineer opens the alert.

To enable automatic investigations on a RUM monitor:

  1. Create or edit a RUM monitor.
  2. Under Configure notifications & automations, toggle Investigate with Bits to Enabled.
  3. Save the monitor.
The Investigate with Bits setting in the monitor editor, toggled to Enabled to automatically investigate monitor alerts.

You can also start an investigation manually from an individual RUM monitor alert. For all the available entry points and the conditions that trigger automatic investigations, see Investigate issues.

Further reading