Observability

Session replay

This feature is for Early Access Program customers only

LaunchDarkly’s observability features are available to members of LaunchDarkly’s Early Access Program (EAP). To request early access, sign up here.

Overview

This topic explains how to use LaunchDarkly’s observability features to perform session replays. The Sessions view displays a list of recorded sessions. Use this view to perform session replays, which are repeatable explorations of an end user’s session in your application.

View session replays

To view a session replay, click Sessions in the left navigation menu, and then select a session from the list. Press the Play button to start the replay. Hover over or click on the colorful columns at the bottom of the screen to see different events in the session.

A session replay with event details expanded.

A session replay with event details expanded.

To learn more about the search specification for the session replays view, read Search specification.

By default, the session replay SDK plugin automatically injects the following attributes to provide additional help with searching for sessions:

AttributeDescriptionExample
active_lengthTime the end user was active. Defaults to milliseconds. Use s, m, or h suffixes to designate seconds, minutes, or hours.10m
browser_nameBrowser the end user was using.Chrome
browser_versionBrowser version the end user was using.124.0.0.0
cityCity the end user was in.San Francisco
completedWhether the session has finished recording.true
countryCountry the end user was in.Greece
device_idFingerprint of the end user’s device.1018613574
environmentThe environment specified in the SDK.production
first_timeWhether this is the end user’s first session.false
has_commentsWhether a LaunchDarkly member has commented on the session.true
has_errorsWhether the session contains linked errors.true
has_rage_clicksWhether the end user rage clicked in the session.true
identifiedWhether the session successfully identified the end user.false
identifierThe observability project ID passed to the session replay plugin initialization.1jdkoe52
ipThe IP address of the end user.127.0.0.1
lengthThe total length of the session. Defaults to milliseconds. Use s, m, or h suffixes to designate seconds, minutes, or hours.10m
os_nameThe end user’s operating system.Mac OS X
os_versionThe end user’s operating system version.10.15.7
pages_visitedThe number of pages visited in the session10
sampleA unique order by which to sample sessionsc1c9b1137183cbb1
service_versionThe version of the service specified in the session replay SDK plugine1845285cb360410aee05c61dd0cc57f85afe6da
stateThe state the end user was in.Virginia
viewed_by_anyoneWhether the session has been viewed by any LaunchDarkly member.true
viewed_by_meWhether you have viewed the session.false

Privacy

Session replay supports privacy features, including data obfuscation and redaction. This ensures that sensitive data is not captured or displayed in the session replays. All of this functionality happens client-side, which means that no sensitive data is sent to LaunchDarkly servers. To learn more about the privacy options for session replay, read Privacy in the SDK documentation.

How is a session defined?

After a session starts, LaunchDarkly continues recording in the same session for up to four hours. Each browser tab or instance will start a distinct session, so if your web app is opened in two tabs at once, LaunchDarkly records two sessions.

However, after a session stops, it can be resumed. If your web app is opened in a single tab, closed, and then reopened within 15 minutes of closing, LaunchDarkly resumes the existing session. If more than 15 minutes have passed, LaunchDarkly starts a new session.