Metrics
Get a historical metrics configuration
Get the historical metrics ingestion configuration for a metric. Existence of the resource means historical metrics ingestion is enabled; returns 404 when it is not enabled for the metric.
get/api/v2/metrics/historical-metrics-configurations/{metric_name}
Request
- Base URLhttps://api.datadoghq.com
- 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/tokenScopesmetrics_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
metric_namestring required
The name of the metric.
Response
OK
Example response
{
"data": {
"attributes": {
"created_at": "2024-01-15T12:00:00.000Z"
},
"id": "dd.test.metric",
"type": "historical_metrics_configurations"
}
}Changes
Changes to this operation have not been checked yet.