Skip to main content

rum_replay_session_watches

Creates, updates, deletes, gets or lists a rum_replay_session_watches resource.

Overview

Namerum_replay_session_watches
TypeResource
Iddatadog.digital_experience.rum_replay_session_watches

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_rum_replay_session_watchinsertsession_id, dataRecord a session watch.
delete_rum_replay_session_watchdeletesession_idDelete session watch history.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
session_idstringUnique identifier of the session.
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

INSERT examples

Record a session watch.

INSERT INTO datadog.digital_experience.rum_replay_session_watches (
data,
session_id
)
SELECT
'{{ data }}' /* required */,
'{{ session_id }}'
RETURNING
data
;

DELETE examples

Delete session watch history.

DELETE FROM datadog.digital_experience.rum_replay_session_watches
WHERE session_id = '{{ session_id }}' --required
;