Optional
requestFactory: MetricsApiRequestFactoryOptional
responseProcessor: MetricsApiResponseProcessorPrivate
configurationPrivate
requestPrivate
responseThe request object
Optional
options: ConfigurationCreate and define a list of queryable tag keys for an existing count/gauge/rate/distribution metric.
Optionally, include percentile aggregations on any distribution metric or configure custom aggregations
on any count, rate, or gauge metric. By setting exclude_tags_mode
to true the behavior is changed
from an allow-list to a deny-list, and tags in the defined list will not be queryable.
Can only be used with application keys of users with the Manage Tags for Metrics
permission.
The request object
Optional
options: ConfigurationDelete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics.
Metrics are selected by passing a metric name prefix.
Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app.
Can only be used with application keys of users with the Manage Tags for Metrics
permission.
The request object
Optional
options: ConfigurationDeletes a metric's tag configuration. Can only be used with application
keys from users with the Manage Tags for Metrics
permission.
The request object
Optional
options: ConfigurationReturns the estimated cardinality for a metric with a given tag, percentile and number of aggregations configuration using Metrics without Limits™.
The request object
Optional
options: ConfigurationList tags and aggregations that are actively queried on dashboards, notebooks, monitors, and the Metrics Explorer for a given metric name.
The request object
Optional
options: ConfigurationReturns dashboards, monitors, notebooks, and SLOs that a metric is stored in, if any. Updated every 24 hours.
The request object
Optional
options: ConfigurationReturns the tag configuration for the given metric name.
The request object
Optional
options: ConfigurationReturns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified).
Optionally, paginate by using the page[cursor]
and/or page[size]
query parameters.
To fetch the first page, pass in a query parameter with either a valid page[size]
or an empty cursor like page[cursor]=
. To fetch the next page, pass in the next_cursor
value from the response as the new page[cursor]
value.
Once the meta.pagination.next_cursor
value is null, all pages have been retrieved.
The request object
Optional
options: ConfigurationProvide a paginated version of listTagConfigurations returning a generator with all the items.
Optional
options: ConfigurationView indexed tag key-value pairs for a given metric name over the previous hour.
The request object
Optional
options: ConfigurationView distinct metrics volumes for the given metric name.
Custom metrics generated in-app from other products will return null
for ingested volumes.
The request object
Optional
options: ConfigurationQuery scalar values (as seen on Query Value, Table, and Toplist widgets). Multiple data sources are supported with the ability to process the data using formulas and functions.
The request object
Optional
options: ConfigurationQuery timeseries data across various data sources and process the data by applying formulas and functions.
The request object
Optional
options: ConfigurationThe metrics end-point allows you to post time-series data that can be graphed on Datadog’s dashboards. The maximum payload size is 500 kilobytes (512000 bytes). Compressed payloads must have a decompressed size of less than 5 megabytes (5242880 bytes).
If you’re submitting metrics directly to the Datadog API without using DogStatsD, expect:
Host name is one of the resources in the Resources field.
The request object
Optional
options: ConfigurationUpdate the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations
of a count, rate, or gauge metric. By setting exclude_tags_mode
to true the behavior is changed
from an allow-list to a deny-list, and tags in the defined list will not be queryable.
Can only be used with application keys from users with the Manage Tags for Metrics
permission. This endpoint requires
a tag configuration to be created first.
The request object
Optional
options: ConfigurationGenerated using TypeDoc
Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. If multiple calls include the same metric, the last configuration applied (not by submit order) is used, do not expect deterministic ordering of concurrent calls. The
exclude_tags_mode
value will set all metrics that match the prefix to the same exclusion state, metric tag configurations do not support mixed inclusion and exclusion for tags on the same metric. Can only be used with application keys of users with theManage Tags for Metrics
permission.