Skip to main content

rum_replay_viewership_history_sessions

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

Overview

Namerum_replay_viewership_history_sessions
TypeResource
Iddatadog.digital_experience.rum_replay_viewership_history_sessions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringUnique identifier of the RUM replay session.
attributesobjectAttributes of a viewership history session entry, capturing when it was last watched and the associated event data.
typestringRum replay session resource type. (rum_replay_session) (default: rum_replay_session, example: rum_replay_session)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_rum_replay_viewership_history_sessionsselectfilter[watched_at][start], page[number], filter[created_by], filter[watched_at][end], filter[session_ids], page[size], filter[application_id]List watched sessions.

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
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.
filter[application_id]stringFilter by application ID.
filter[created_by]stringFilter by user UUID. Defaults to current user if not specified.
filter[session_ids]stringComma-separated list of session IDs to filter by.
filter[watched_at][end]integer (int64)End timestamp in milliseconds for watched_at filter.
filter[watched_at][start]integer (int64)Start timestamp in milliseconds for watched_at filter.
page[number]integer (int64)Page number for pagination (0-indexed).
page[size]integer (int64)Number of items per page.

SELECT examples

List watched sessions.

SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_replay_viewership_history_sessions
WHERE filter[watched_at][start] = '{{ filter[watched_at][start] }}'
AND page[number] = '{{ page[number] }}'
AND filter[created_by] = '{{ filter[created_by] }}'
AND filter[watched_at][end] = '{{ filter[watched_at][end] }}'
AND filter[session_ids] = '{{ filter[session_ids] }}'
AND page[size] = '{{ page[size] }}'
AND filter[application_id] = '{{ filter[application_id] }}'
;