Metrics

Enable historical metrics ingestion

Enable historical metrics ingestion (late data ingestion) for a metric. Idempotent: enabling an already-enabled metric returns 200 instead of 201. Not supported for distribution metrics, metrics with an existing tag configuration, or most standard (non-custom) metrics.

post/api/v2/metrics/historical-metrics-configurations

Request

Request body

Example request

{
  "data": {
    "id": "dd.test.metric",
    "type": "historical_metrics_configurations"
  }
}

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.