rum_replay_session_watches
Creates, updates, deletes, gets or lists a rum_replay_session_watches resource.
Overview
| Name | rum_replay_session_watches |
| Type | Resource |
| Id | datadog.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_rum_replay_session_watch | insert | session_id, data | Record a session watch. | |
delete_rum_replay_session_watch | delete | session_id | Delete 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.
| Name | Datatype | Description |
|---|---|---|
session_id | string | Unique identifier of the session. |
site | string | The 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
- create_rum_replay_session_watch
- Manifest
Record a session watch.
INSERT INTO datadog.digital_experience.rum_replay_session_watches (
data,
session_id
)
SELECT
'{{ data }}' /* required */,
'{{ session_id }}'
RETURNING
data
;
# Description fields are for documentation purposes
- name: rum_replay_session_watches
props:
- name: session_id
value: "{{ session_id }}"
description: Required parameter for the rum_replay_session_watches resource.
- name: data
description: |
Data object representing a session watch record, including its identifier, type, and attributes.
value:
attributes:
application_id: "{{ application_id }}"
data_source: "{{ data_source }}"
event_id: "{{ event_id }}"
timestamp: "{{ timestamp }}"
id: "{{ id }}"
type: "{{ type }}"
DELETE examples
- delete_rum_replay_session_watch
Delete session watch history.
DELETE FROM datadog.digital_experience.rum_replay_session_watches
WHERE session_id = '{{ session_id }}' --required
;