Metrics
Get active metrics list
Get the list of actively reporting metrics from a given time until now.
get/api/v1/metrics
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/metrics
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: metrics_read
Query parameters
frominteger required
Seconds since the Unix epoch.
hoststring
Hostname for filtering the list of metrics returned. If set, metrics retrieved are those with the corresponding hostname tag.
tag_filterstring
Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions. Cannot be combined with other filters.
Response
OK
Example response
{
"from": "1571011200",
"metrics": [
"system.cpu.idle",
"system.mem.free",
"aws.ec2.cpuutilization"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.