Skip to main content

rum_operations

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

Overview

Namerum_operations
TypeResource
Iddatadog.digital_experience.rum_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the RUM operation. (example: abc12345-1234-5678-abcd-ef1234567890)
attributesobjectAttributes of a RUM operation response.
typestringThe JSON:API type for RUM operation resources. (operations) (example: operations)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_rumoperationselectrum_operation_idRetrieve a specific RUM operation by its unique identifier.
list_rumoperationsselectquery, page[offset], page[limit], creator, team, feature_id, application_idSearch RUM operations for your organization. Supports filtering by query, creator, team, feature, and application.
create_rumoperationinsertdataCreate a new RUM operation, defining the journey used to detect it from RUM events.
update_rumoperationreplacerum_operation_id, dataUpdate an existing RUM operation. Fields omitted from the request body keep their existing value,<br />with the exception of journey_rum, which is required and fully replaced on every update.
delete_rumoperationdeleterum_operation_idDelete a RUM operation.

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
rum_operation_idstringThe unique identifier of the RUM operation to delete.
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.
application_idstring (uuid)Filter operations by RUM application ID.
creatorstringFilter operations by the email of their creator.
feature_idstringFilter operations by feature ID. Accepts a comma-separated list of feature IDs.
page[limit]integer (int64)Number of items per page. Maximum of 100.
page[offset]integer (int64)Offset for pagination.
querystringA search query to filter operations by name.
teamstringFilter operations by team. Accepts a comma-separated list of teams.

SELECT examples

Retrieve a specific RUM operation by its unique identifier.

SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_operations
WHERE rum_operation_id = '{{ rum_operation_id }}' -- required
;

INSERT examples

Create a new RUM operation, defining the journey used to detect it from RUM events.

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

REPLACE examples

Update an existing RUM operation. Fields omitted from the request body keep their existing value,<br />with the exception of journey_rum, which is required and fully replaced on every update.

REPLACE datadog.digital_experience.rum_operations
SET
data = '{{ data }}'
WHERE
rum_operation_id = '{{ rum_operation_id }}' --required
AND data = '{{ data }}' --required
RETURNING
data;

DELETE examples

Delete a RUM operation.

DELETE FROM datadog.digital_experience.rum_operations
WHERE rum_operation_id = '{{ rum_operation_id }}' --required
;