product_analytics_retentions
Creates, updates, deletes, gets or lists a product_analytics_retentions resource.
Overview
| Name | product_analytics_retentions |
| Type | Resource |
| Id | datadog.digital_experience.product_analytics_retentions |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
query_product_analytics_retention_list | exec | data | List the individual users or accounts counted in one cell of the retention grid.<br />Set computation_scope to the cohort and return period you want to examine. | |
query_product_analytics_retention_scalar | exec | data | Compute retention as a single value per group, suitable for a query value or top list widget. | |
query_product_analytics_retention_timeseries | exec | data | Compute retention as a series of values over time, using the same query definition as the<br />retention grid. |
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. |
Lifecycle Methods
EXEC variables use wire (API) names.
- query_product_analytics_retention_list
- query_product_analytics_retention_scalar
- query_product_analytics_retention_timeseries
List the individual users or accounts counted in one cell of the retention grid.<br />Set computation_scope to the cohort and return period you want to examine.
EXEC datadog.digital_experience.product_analytics_retentions.query_product_analytics_retention_list
@@json=
'{
"data": "{{ data }}"
}'
;
Compute retention as a single value per group, suitable for a query value or top list widget.
EXEC datadog.digital_experience.product_analytics_retentions.query_product_analytics_retention_scalar
@@json=
'{
"data": "{{ data }}"
}'
;
Compute retention as a series of values over time, using the same query definition as the<br />retention grid.
EXEC datadog.digital_experience.product_analytics_retentions.query_product_analytics_retention_timeseries
@@json=
'{
"data": "{{ data }}"
}'
;