Environment Analytics

V4 APIs request and response times analytics

Get analytics for v2 & v4 APIs regarding number of requests, requests per second and response max, min and average times for specified time range. Analytics contains data only for HTTP GET, HTTP POST and HTTP PROXY entrypoints.

get/analytics/request-response-time

Request

  • Base URL
    /management/v2/environments/DEFAULT (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /management/v2/environments/DEFAULT/analytics/request-response-time
  • Auth
    • HTTP basic
    • or API key in cookie Auth-Graviteeio-APIM

Query parameters

frominteger

The timestamp in ms from which the logs will be returned.

tointeger

The timestamp in ms to which the logs will be returned.

Response

Analytics for request response times at environment level

requestsPerSecondnumber double

Number of requests per second

requestsTotalnumber

Total number of requests

responseMinTimenumber double

Response minimum time in ms

responseMaxTimenumber double

Response maximum time in ms

responseAvgTimenumber double

Response average time in ms

Example response

{
  "requestsPerSecond": 0.7,
  "requestsTotal": 3567,
  "responseMinTime": 32.23,
  "responseMaxTime": 7240.11,
  "responseAvgTime": 89.2
}

Changes

No recorded changes to this operation across all 65 revisions of this API.