tag_metadatum_metrics
Creates, updates, deletes, gets or lists a tag_metadatum_metrics resource.
Overview
| Name | tag_metadatum_metrics |
| Type | Resource |
| Id | datadog.cloud_costs.tag_metadatum_metrics |
Fields
The following fields are returned by SELECT queries:
- list_cost_tag_metadata_metrics
| Name | Datatype | Description |
|---|---|---|
id | string | The metric name, for example aws.cost.net.amortized. (example: aws.cost.net.amortized) |
type | string | Type of the Cloud Cost Management available metric resource. (cost_metric) (default: cost_metric, example: cost_metric) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_cost_tag_metadata_metrics | select | filter[month] | filter[provider] | List Cloud Cost Management metrics that have data for the requested period. |
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 |
|---|---|---|
filter[month] | string | The month to scope the query to, in YYYY-MM format. (example: 2026-02) |
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. |
filter[provider] | string | Filter results to a specific provider. Common cloud values are aws, azure, gcp, Oracle (OCI), and custom. SaaS billing integrations (for example, Snowflake, MongoDB, Databricks) are also accepted using their display-name string. Values are case-sensitive. |
SELECT examples
- list_cost_tag_metadata_metrics
List Cloud Cost Management metrics that have data for the requested period.
SELECT
id,
type
FROM datadog.cloud_costs.tag_metadatum_metrics
WHERE filter[month] = '{{ filter[month] }}' -- required
AND filter[provider] = '{{ filter[provider] }}'
;