volumes
Creates, updates, deletes, gets or lists a volumes resource.
Overview
| Name | volumes | 
| Type | Resource | 
| Id | datadog.metrics.volumes | 
Fields
The following fields are returned by SELECT queries:
- list_volumes_by_metric_name
| Name | Datatype | Description | 
|---|
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description | 
|---|---|---|---|---|
| list_volumes_by_metric_name | select | metric_name,region | View distinct metrics volumes for the given metric name. Custom metrics generated in-app from other products will return nullfor ingested volumes. | 
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 | 
|---|---|---|
| metric_name | string | The name of the metric. (example: dist.http.endpoint.request) | 
| region | string | (default: datadoghq.com) | 
SELECT examples
- list_volumes_by_metric_name
View distinct metrics volumes for the given metric name.
Custom metrics generated in-app from other products will return null for ingested volumes.
SELECT
*
FROM datadog.metrics.volumes
WHERE metric_name = '{{ metric_name }}' -- required
AND region = '{{ region }}' -- required
;