Statistics are generated each time an API Call is made. Statistics are generated per call per location. Aggregated statistics are also generated for the hour, day, week, month and year (all based upon UTC).
Example:
{
"meta": {
"kind": "MONTH",
"call_id": "agxkZXZ-dmlhdGVzdHNyFwsSClRlc3RTZXR1cDIYgICAgKDDxwgM",
"type": "ALL",
"time": "2015-10-01T00:00:00Z",
"location_id": "",
"name": "API test name"
},
"stat": {
"avg_latency": 383.5,
"max_latency": 749,
"time": "2015-10-01T00:00:00Z",
"count": 20
}
}
Data available for all results:
Name | Type | Description |
---|---|---|
time | Datetime | Normalized time for the period you requested. |
count | Integer | Number of API calls made in period. |
max_latency | Integer | Slowest API Call made in period, in ms. |
avg_latency | Float | Average latency for the API Calls for the period specified. |
Extra data available for results that passed (i.e., when type is set to COMPLETE).
Name | Type | Description |
---|---|---|
time | Datetime | Normalized time for the period you requested. |
count | Integer | Number of API calls made in period. |
max_latency | Integer | Slowest API Call made in period, in ms. |
min_latency | Integer | Fastest API Call made in period, in ms. |
avg_latency | Float | Average latency for the API Calls for the period specified. |
standard_deviation | Float | Standard deviation of API Call latencies for the period. |
skewness | Float | Skewness of API Call latencies for the period. |
Data available when requesting raw data, i.e. kind = RAW.
Name | Type | Description |
---|---|---|
time | Datetime | Time that the API Call was made. |
latency | Integer | Length of time, in ms, that the API Call took to make. |
http_code | Integer | HTTP response code returned. |
content_length | Integer | Size, in bytes, of the response. |