Retrieve App Services metrics
Retrieves a variety of metrics, including: Compute Time, Data Transfer, Sync Minutes, Requests Succeeded, Requests Failed. For a complete list of available metrics, see App Services Metrics Reference.
Path parameters
An Atlas Project/Group ID.
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
Query parameters
The ISO-8601 date and time of the start of the query period (e.g. "2022-10-27T14:01:01Z").
The ISO-8601 date and time of the end of the query period (e.g. "2022-12-27T14:01:01Z").
Specifies the granularity of the query period as an ISO-8601 duration value. Examples include "P31D" (31 day), "PT1H" (1 hour), and "PT5M" (5 minutes).
The name of the metric to filter by. For detailed information on the available metrics and their units, see App Services Metrics Reference.
Response
Successfully retrieved.
Example response
{
"start": "2022-10-27T14:01:01Z",
"end": "2022-12-27T14:01:01Z"
}