Explore
Replays
Watch what a user saw and did, next to the requests, console output, errors and backend logs of the same session.
A session replay records the page in the user's browser: the DOM, its changes, scrolls, clicks and typing. It is not a video, so it stays small and plays back sharp at any size. The Replays screen lists recorded sessions, newest first.


Turn replays on
The browser SDK records nothing until you set a sample rate:
import { init } from "@openperf/sdk/browser";
init({
dsn: import.meta.env.VITE_OPENPERF_DSN,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1,
});By default a replay hides all text, input values and media, in the browser, before anything is sent. Session replay in the SDK docs covers the sample rates, what stays hidden and how to show more.
Find a session
Each row is one session: the user, the entry page, how active the user was, how long it lasted and how many errors it had. The right panel filters by Project, Environment and Errors (With errors or Without errors). The search bar finds a session by user name, email or ID, page URL or release.
The user comes from setUser. An avatar URL shows their picture and a url, such as their profile in your admin panel, links their name. See setUser.
Watch a session


The player shows the page at the size it had in the browser, with the current URL above it. Marks above the seek bar show page changes, clicks and errors.
| Control | Effect |
|---|---|
| Events | Lists everything that happened, including what is still ahead. Pick one to jump there |
| Settings | Sets the speed, up to 8×, and Skip inactivity, on by default, which jumps over 10 seconds and more without input |
| Full screen | Fills the screen with the player and its timeline |
The right panel shows the user, the activity, the project, the device and when the session started. Click the error count to jump to 10 seconds before the first error.
Timeline
The timeline under the player works like a browser console: a line appears when playback reaches it, the latest one is highlighted, and the list follows playback until you scroll up. Click a line to move playback there.
| Tab | Lines |
|---|---|
| All | Every line below, in one list |
| Errors | Errors of the session, from the browser and from backends. Open issue opens the error |
| Requests | fetch and XMLHttpRequest calls with status and duration. Open trace opens the trace |
| Console | console output, with warnings and errors marked |
| Logs | Backend logs written while serving the session's requests |
A tab shows up when the session has lines of its kind, and its count grows as playback reaches them. The timeline holds up to 100 errors and 200 logs; Open in Logs opens all logs of the session in Logs.
Backend errors and logs join the session through the traces of its requests, so they need distributed tracing. An error from another project shows that project next to it.
From an error to its replay
When an error happened in a recorded session, its error page shows a Replay block. Watch from 10 seconds before opens the player just before the error.
Retention and limits
Replays are kept for 30 days. Deleting a project or its organization deletes its replays. A self-hosted instance needs object storage for replays.