rum_configs
Creates, updates, deletes, gets or lists a rum_configs resource.
Overview
| Name | rum_configs |
| Type | Resource |
| Id | datadog.digital_experience.rum_configs |
Fields
The following fields are returned by SELECT queries:
- get_rum_config
| Name | Datatype | Description |
|---|---|---|
id | string | The organization ID associated with the RUM configuration. (example: 1234) |
attributes | object | Attributes of the RUM configuration. |
type | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_rum_config | select | Get the RUM configuration for your organization. | ||
create_rum_config | insert | data | Create the RUM configuration for your organization.<br />Returns the RUM configuration object from the request body when the request is successful. | |
update_rum_config | update | data | Update 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.
| Name | Datatype | Description |
|---|---|---|
site | string | The 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_rum_config
Get the RUM configuration for your organization.
SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_configs
;
INSERT examples
- create_rum_config
- Manifest
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
;
# Description fields are for documentation purposes
- name: rum_configs
props:
- name: data
description: |
Object describing the RUM configuration to create.
value:
attributes:
enforced_application_tags: {{ enforced_application_tags }}
type: "{{ type }}"
UPDATE examples
- update_rum_config
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;