Skip to main content

rum_configs

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

Overview

Namerum_configs
TypeResource
Iddatadog.digital_experience.rum_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe organization ID associated with the RUM configuration. (example: 1234)
attributesobjectAttributes of the RUM configuration.
typestringThe type of the resource. The value should always be rum_config. (rum_config) (default: rum_config, example: rum_config)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_rum_configselectGet the RUM configuration for your organization.
create_rum_configinsertdataCreate the RUM configuration for your organization.<br />Returns the RUM configuration object from the request body when the request is successful.
update_rum_configupdatedataUpdate the RUM configuration for your organization.<br />Returns the RUM configuration object from the request body when the request is successful.

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.

SELECT examples

Get the RUM configuration for your organization.

SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_configs
;

INSERT examples

Create the RUM configuration for your organization.<br />Returns the RUM configuration object from the request body when the request is successful.

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

UPDATE examples

Update the RUM configuration for your organization.<br />Returns the RUM configuration object from the request body when the request is successful.

UPDATE datadog.digital_experience.rum_configs
SET
data = '{{ data }}'
WHERE
data = '{{ data }}' --required
RETURNING
data;