Skip to main content

rum_teams_ownership_rules

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

Overview

Namerum_teams_ownership_rules
TypeResource
Iddatadog.digital_experience.rum_teams_ownership_rules

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringA deterministic identifier derived from the rule's grouping key. This ID cannot be used to delete the rule directly; delete individual mappings using the mapping_id under teams instead. (example: 3b1e2f7a9c4d6e8f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f)
attributesobjectThe attributes of a teams ownership rule.
typestringThe type of the resource. The value should always be teams_ownership_grouped_mappings. (teams_ownership_grouped_mappings) (default: teams_ownership_grouped_mappings, example: teams_ownership_grouped_mappings)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_teams_ownership_rulesselectfilter[view_name], filter[team_handle], filter[application_id], filter[service]Get the list of teams ownership rules for your organization, optionally filtered.<br />Rules group the underlying mappings by view_name, application_id, service, and match_type,<br />collapsing every team that owns the same view into a single entry.

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.
filter[application_id]arrayFilter mappings by RUM application ID. Each value must be a valid UUID.
filter[service]arrayFilter mappings by RUM application service name.
filter[team_handle]arrayFilter mappings by owning team handle.
filter[view_name]arrayFilter mappings by RUM view name.

SELECT examples

Get the list of teams ownership rules for your organization, optionally filtered.<br />Rules group the underlying mappings by view_name, application_id, service, and match_type,<br />collapsing every team that owns the same view into a single entry.

SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_teams_ownership_rules
WHERE filter[view_name] = '{{ filter[view_name] }}'
AND filter[team_handle] = '{{ filter[team_handle] }}'
AND filter[application_id] = '{{ filter[application_id] }}'
AND filter[service] = '{{ filter[service] }}'
;