Timeseries API - Read data points of a metrics

The Timeseries API enables you to read the data points of a certain metric.

GET data points of a metric

Fetches parameters and data points of the specified metric.

To obtain data points, set the includeData parameter to true. You must also specify the timeframe and the aggregation type supported by the requested metric. See the Parameters expandable section for more details.

You can obtain either data points or the scalar result of the specified metric, depending on the queryMode.

The request produces application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/timeseries/{timeseriesIdentifier}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/timeseries/{timeseriesIdentifier}

POST data points of a metric

Fetches parameters and data points of the specified metric. Comparing to GET request, it provides less data about the metric itself.

To obtain data points you must specify the timeframe and the aggregation type supported by the requested metric. See the Parameters expandable section for more details.

The request consumes and produces application/json payload.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/timeseries/{timeseriesIdentifier}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/timeseries/{timeseriesIdentifier}