Skip to main content

rum_configs

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

Overview

Namerum_configs
TypeResource
Iddatadog.remote_config.rum_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier of the RUM SDK configuration. (example: abc12345-1234-5678-abcd-ef1234567890)
attributesobjectAttributes of the RUM SDK configuration.
metaobjectMetadata associated with a RUM SDK configuration.
typestringThe type of the resource. The value should always be rum_sdk_config. (rum_sdk_config) (default: rum_sdk_config, example: rum_sdk_config)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_rum_sdk_configselectconfig_idRetrieve a RUM SDK configuration by its identifier.
update_rum_sdk_configreplaceconfig_id, dataUpdate an existing RUM SDK configuration by its identifier.<br />Returns the updated configuration when 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
config_idstringThe ID of the RUM SDK configuration. (example: abc12345-1234-5678-abcd-ef1234567890)
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

Retrieve a RUM SDK configuration by its identifier.

SELECT
id,
attributes,
meta,
type
FROM datadog.remote_config.rum_configs
WHERE config_id = '{{ config_id }}' -- required
;

REPLACE examples

Update an existing RUM SDK configuration by its identifier.<br />Returns the updated configuration when successful.

REPLACE datadog.remote_config.rum_configs
SET
data = '{{ data }}'
WHERE
config_id = '{{ config_id }}' --required
AND data = '{{ data }}' --required
RETURNING
data;