Datadog RUM and GenClass, side by side
| Question | Datadog RUM and Session Replay | GenClass |
|---|---|---|
| Built to find | How real sessions perform, with 30+ metrics that RUM Measure computes on 100% of sessions. Source | Bugs that raise no error: stale responses written over newer data, double submits, broken state and failure storms. |
| Runs in | Browsers, plus SDKs for mobile apps, Roku, Unity and Electron. Source | Web pages only. During server rendering it installs nothing. |
| Requests | Method, URL, size, status for fetch and XHR, and timing phases from DNS to download. Headers only with trackResourceHeaders. Source | fetch, XHR, WebSocket and EventSource, and the order their responses arrive in. Headers and full bodies are never sent to GenClass. |
| A stale response overwrites newer data | Not described. Both requests appear as resources in a kept session, and someone has to spot the order. Source | Can be reported with the diagnosis stale and a console line that gives the evidence. Many are missed (rates below). |
| A form is submitted twice | Not described. A double click is not a rage click, which takes more than three clicks in one second. Source | Can be reported with the diagnosis duplicate: the same request sent again without a new intent, such as a double click. Some are missed (rates below). |
| Core Web Vitals | LCP, INP and CLS, recorded as view attributes. Source | FCP and LCP at the 75th percentile per page, in the opt-in heatmap (a beta). The heatmap does not measure INP or CLS. |
| Session replay | An add-on to RUM Investigate (below) that masks all text by default. Source | Recordings and Live Watch, a beta, off by default: page structure and text, with typed text, email addresses and long numbers as dots, kept 30 days. No request bodies or console timeline. |
| Pricing model | Per 1,000 sessions, in parts (below). Source | Not per session: a free plan and paid plans (pricing). The runtime is open source (Apache-2.0) and needs no account. |
"Not described" means the linked Datadog pages do not describe it, not that Datadog cannot show it.
What Datadog RUM records
The browser SDK creates an event for each session, view, action, resource, error and long task. Resource events cover images, scripts, CSS, fetch and XHR calls with their timings (data collected). With trackUserInteractions on (SDK 4.14.0 or later) it also records frustration signals: a rage click is more than three clicks on one element in a one-second sliding window, a dead click lands on a static element that produces no action, and an error click comes right before a JavaScript error (frustration signals).
Session Replay rebuilds each page from snapshots of the DOM (billing FAQ) and masks all text, inputs, images and links by default (privacy options). Its Dev Tools, for kept sessions, lay out actions, errors, resources and long tasks as a waterfall (Dev Tools).
How Datadog RUM is priced
Datadog prices RUM per 1,000 sessions. A session ends after 15 minutes of inactivity and lasts at most 4 hours (billing docs). On 5 December 2026 the pricing page listed these starting prices per 1,000 sessions a month:
- RUM Measure: $0.15 billed annually, $0.22 on demand. It computes 30+ metrics on 100% of sessions and keeps them 15 months.
- RUM Investigate: $3 billed annually, $4.50 on demand, for the sessions your retention filters keep. They stay 30 days, and their resources, long tasks and vitals 15 days.
- Session Replay: $2.50 billed annually, $3.60 on demand, an add-on to RUM Investigate with 30-day retention.
The page says Measure and Investigate are bought together, offers a free trial and lists no free RUM plan. Every session counts toward Measure, and each kept one again toward Investigate. Datadog records request timings in the sessions it keeps.
Where Datadog is better
- It covers the whole stack: RUM connects sessions to backend traces, logs and infrastructure metrics, and has SDKs for mobile, TV and desktop (RUM docs). GenClass sees web pages only and has no tracing.
- It measures speed in detail: timing phases per request, long tasks and Core Web Vitals. GenClass's heatmap has FCP and LCP, but no INP or CLS.
- Its replay has privacy levels, Dev Tools and heatmaps for web apps. GenClass's recordings are a beta.
- You choose among nine data sites in the US, Germany, Japan, Australia and the UK, and Datadog's trust center lists SOC 2 Type 2, ISO/IEC 27001, FedRAMP High, HIPAA and PCI DSS among others.
Where GenClass differs
A timing bug can leave evidence in a kept Datadog session: the old search request that finished after the newer one sits among its resources, and in the replay waterfall with Session Replay. None of the linked Datadog pages describes a signal for it, so someone has to notice. GenClass watches for that moment in the page: a response that would overwrite newer data in state it can see, or the same request sent again without a new intent. A small model on the visitor's device judges each case; normal traffic never reaches it.
GenClass still misses many of these bugs. On test data from real apps kept out of training, model 0.2.0 at its default setting gave the right diagnosis for 75% of the duplicate submits and 30% of the stale overwrites, with false detections held to at most 2% of clean decisions (benchmarks). Runtime 0.3.0 may add reports, false ones included, at an unmeasured rate. The default mode, observe, only reports: it never holds, delays or changes a request, a response or a state write.
In development, the GenClass MCP server lets a coding agent rerun the same steps with responses in seeded orders, then replay the order that changed the final page, before and after a fix. Datadog's MCP server, which Datadog says is under significant development, lets an agent search and aggregate RUM events and read one page view's waterfall in start-time order (server, tools).
GenClass also adds weight: 108.25 KB gzipped of first-load JavaScript with the /auto import (the published 0.3.0-beta.0 build). On one pilot app (runtime 0.1.0-beta.3), a first visit downloaded about 13 MB for the model and its WASM runtime, cached after that, and the tab used 190 to 280 MB more memory while the model was loaded. By default, devices that report 2 GB of memory or less, or have Save-Data on, skip the model.
Using both
If users report old data on screen or orders sent twice while Datadog shows sessions with no errors, run GenClass next to RUM and send its reports into Datadog. For an app in a genclass.dev account with telemetry on, add a Datadog API key and site under Integrations; GenClass's server then sends each likely detection to Datadog Logs as a warning, with source and service genclass and tags for the diagnosis, route, app and runtime version. Possible detections and page text are never forwarded. Each diagnosis and route goes at most once per UTC hour, up to 60 records an hour per app. The Datadog destination accepts every Datadog site except US2-FED and UK1.
Where GenClass fits
GenClass is an open-source browser library that watches an app's requests and the state they write. Its reports carry a diagnosis, such as stale or duplicate. It finds React state, Redux stores set up for Redux DevTools and Zustand stores with devtools (in production only with enabled: true) on its own; state in Pinia, Svelte stores or signals must be registered first. It does not replace an error tracker or session replay, and every measurement of it was made in Chromium.
To try it, run npx genclass in your app's folder; it adds the runtime in observe mode.
Questions
Is GenClass a Datadog RUM alternative?
Not for most of what RUM does: GenClass has no tracing and runs only in web pages. It runs next to RUM and looks for requests that go wrong without an error.
Is Datadog RUM free?
On 5 December 2026 Datadog's pricing page offered a free trial and listed no free RUM plan. RUM Measure started at $0.15 per 1,000 sessions a month, billed annually.
Is GenClass open source, and can you host it yourself?
Yes: the runtime, model, CLI, MCP server and Playwright fixture are Apache-2.0. The collector and its dashboards can run in your own Cloudflare account.
Can GenClass send its findings to Datadog?
Yes. Once you add a Datadog API key for an app in a genclass.dev account with telemetry on, GenClass's server sends each likely detection to Datadog Logs, never with page text.
Does Datadog Session Replay show race conditions?
It can show the evidence: the Dev Tools waterfall lays out a kept session's resources with their timestamps. The linked Datadog pages describe no signal that flags a stale response or a double submit.
Related: GenClass and Sentry, GenClass and PostHog, out-of-order responses and duplicate form submissions.
Datadog is a trademark of its owner. GenClass is not affiliated with it.