Alert on browser errors
Use issue alerts to detect a new bug, a resolved bug returning, or a sharp increase in an existing issue. Threshold and metric rules evaluate a time window. Delivery uses your Site Qwality notification groups and channels.
Create a rule
Section titled “Create a rule”In Alerts, click New alert rule, and under Alert on choose RUM: browser errors and web vitals. Select your application and choose a trigger, add filters and a notification group, then click Create alert rule. Create alert on an application or an issue opens the same form, filled in for it. RUM rules show in the Alerts list with your other rules; click one to edit, test or delete it. Capturing errors does not create a notification rule by itself. Viewers cannot change rules or issue status.
Choose a trigger
Section titled “Choose a trigger”| Trigger | Meaning |
|---|---|
| New issue | A fingerprint is first observed. |
| Regression | A resolved issue occurs again after resolution, subject to its resolution mode. |
| Escalating | The trailing-hour count exceeds 10 and five times the trailing seven-day hourly average. |
| Threshold | Error events, affected users, or percentage of sessions affected. |
| Metric | p75 LCP, p75 INP, p75 CLS, sessions with errors, or failed requests. |
Filter issue rules by supported Errors dimensions and metric rules by Analytics dimensions. Filters can restrict a rule to a release, environment or route. For lifecycle triggers, an action interval controls repeated delivery for the same rule and issue, defaulting to one hour. Five or more matching new issues in the same rule and minute are grouped into one digest.
Issue workflow
Section titled “Issue workflow”Resolve now to reopen as a regression when a later error occurs. Resolve in the next release waits for an observed release after resolution. Creating a source-map release alone does not count as that release being observed.
Ignore indefinitely or until a date, event count or escalation condition. Suppress capture updates application configuration so a supporting SDK can drop matching errors after refreshing that configuration. It does not delete existing occurrences. Assign, bulk-update and merge related issues in the issue workflow. Merging preserves aliases and combines session/user counts without double-counting them.
Open issues auto-resolve after the application’s configured inactive period, default 14 days. Setting that period to null disables automatic resolution. New issues become ongoing after seven days.
API example
Section titled “API example”Use the /alert-rules API with kind: "rum":
{ "name": "New checkout issues", "kind": "rum", "threshold": 1, "query": { "type": "rum", "application_id": "00000000-0000-4000-8000-000000000001", "trigger": "new_issue", "filters": ["route:eq:/checkout"], "action_interval_seconds": 3600 }, "group_notification_ids": []}Replace the application ID and add your notification-group IDs. Event triggers are new_issue, regression and escalating, with no measure. For threshold, set measure to events, users or sessions_pct. For metric, use p75_lcp_ms, p75_inp_ms, p75_cls, sessions_with_errors_pct or failed_request_pct. The alert-rule window, comparison and pending-duration fields apply to threshold and metric rules. Percent measures use a 0–100 scale; LCP and INP use milliseconds, and CLS is unitless. The threshold measure sessions_pct compares matching error sessions with all application sessions in the window. The metric sessions_with_errors_pct applies Analytics filters to the measured view population.
POST /alert-rules/{id}/test evaluates threshold and metric rules without sending notifications. Lifecycle rules return no evaluation value and send no test notification, so verify notification channels separately.
Scoped API keys and M2M callers need both write:logs and write:rum for RUM rule changes, and both read:logs and read:rum for reads and evaluation tests.
Delivery and catch-up
Section titled “Delivery and catch-up”Lifecycle delivery uses these webhook event names: rum.issue.created, rum.issue.regressed and rum.issue.escalating. Evaluated rules emit rum.alert.firing and rum.alert.resolved.
Initial catch-up rebuilds issue counts without sending historical notifications. A lifecycle notification needs an occurrence after the rule was created, and notifications missed during an outage longer than two minutes are not replayed. Delivery is at least once, so receivers should tolerate duplicates.
If a notification is missing, check whether the issue is ignored or suppressed, the filter matched, the action interval has elapsed and the account is active, before changing collection settings.