rum

Query Datadog Real User Monitoring events and analyze user sessions via the pup CLI.

5|2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/lauhon/pi --skill rum-lauhon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rum
Source: https://github.com/lauhon/pi/tree/main/skills/rum
Command: npx skills add https://github.com/lauhon/pi --skill rum-lauhon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Investigating frontend errors, slow page loads, and user behavior requires querying Datadog RUM data, which involves learning the RUM search syntax and API. This Skill lets you search and analyze real user monitoring events directly through natural language requests. ## Core Features & Use Cases - RUM Event Search: Query views, actions, errors, resources, and long tasks using the full Datadog RUM query syntax with flexible time ranges. - Session & Performance Analysis: Track individual user journeys, analyze Core Web Vitals (LCP, FID, CLS), and identify slow pages. - Session Replay Discovery: Find replay sessions, fetch replay segments, and manage replay playlists via the pup CLI. - Use Case: When users report checkout failures, search for error events on the checkout page, identify the affected browsers and users, and trace a specific session to see exactly where the flow broke. ## Quick Start Ask the agent to show all frontend errors from the last hour and summarize the top issues affecting users.

Frequently Asked Questions about rum

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search RUM events in Datadog from the command line?

Use the pup CLI with a query like pup rum search --query="@type:error" --from="1h" --to="now". The query syntax supports attributes such as @type, @view.url_path, @session.id, and boolean operators AND, OR, NOT.

How do I find frontend JavaScript errors affecting users?

Search for error events with pup rum search --query="@type:error" over your desired time range. You can narrow results by page, browser, device, or user attributes, for example @view.url_path:/checkout or @device.type:mobile.

What credentials are required to query the Datadog RUM API?

You need three environment variables: DD_API_KEY, DD_APP_KEY, and DD_SITE (defaulting to datadoghq.com). Missing credentials produce an error prompting you to export these variables before running searches.

Can I find Datadog session replays from the CLI?

Yes, use pup rum sessions search --query='@session.has_replay:true' to discover replay sessions, then fetch segments with pup rum replay segments get using the session and view IDs. Visual playback itself requires the Datadog RUM UI.

Why does my RUM search return no events?

Empty results usually mean RUM is not instrumented in the application, the query is too restrictive, or the time range is wrong. Broaden the query, verify the time format (1h, 30m, 2d, now), and confirm the Datadog Browser or Mobile SDK is collecting data.