Skip to main content

rum_operation_strong_links

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

Overview

Namerum_operation_strong_links
TypeResource
Iddatadog.digital_experience.rum_operation_strong_links

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the strong link, formatted as <operation_id>:<feature_id>. (example: abc12345-1234-5678-abcd-ef1234567890:feature-123)
attributesobjectAttributes of a RUM operation strong link response.
typestringThe JSON:API type for RUM operation strong link resources. (strong_links) (example: strong_links)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_rumoperation_strong_linksselectoperation_id, feature_id, page[offset], page[limit]List strong links between RUM operations and features. A strong link confirms that a feature<br />belongs to an operation. Provide operation_id, feature_id, or both to filter results;<br />at least one is required.
create_rumoperation_strong_linkinsertdataCreate a strong link between a RUM operation and a feature, confirming that the feature<br />belongs to the operation. The operation can be identified by operation_id or operation_name;<br />if operation_name does not match an existing operation, a stub operation is created.
update_rumoperation_strong_linkreplacerum_operation_id, feature_id, dataUpdate the status of a strong link between a RUM operation and a feature.
delete_rumoperation_strong_linkdeleterum_operation_id, feature_idDelete the strong link between a RUM operation and a feature.

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
feature_idstringThe unique identifier of the feature.
rum_operation_idstringThe unique identifier of the RUM operation.
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.
feature_idstringFilter strong links by feature ID.
operation_idstringFilter strong links by RUM operation ID.
page[limit]integer (int64)Number of items per page. Maximum of 200.
page[offset]integer (int64)Offset for pagination.

SELECT examples

List strong links between RUM operations and features. A strong link confirms that a feature<br />belongs to an operation. Provide operation_id, feature_id, or both to filter results;<br />at least one is required.

SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_operation_strong_links
WHERE operation_id = '{{ operation_id }}'
AND feature_id = '{{ feature_id }}'
AND page[offset] = '{{ page[offset] }}'
AND page[limit] = '{{ page[limit] }}'
;

INSERT examples

Create a strong link between a RUM operation and a feature, confirming that the feature<br />belongs to the operation. The operation can be identified by operation_id or operation_name;<br />if operation_name does not match an existing operation, a stub operation is created.

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

REPLACE examples

Update the status of a strong link between a RUM operation and a feature.

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

DELETE examples

Delete the strong link between a RUM operation and a feature.

DELETE FROM datadog.digital_experience.rum_operation_strong_links
WHERE rum_operation_id = '{{ rum_operation_id }}' --required
AND feature_id = '{{ feature_id }}' --required
;