Time-Series Data
To draw graphs of key performance indicators (KPIs), first determine which KPIs are available and then retrieve the details for each KPI.
Determine Available KPIs
API Explorer: /masters/{masterId}/reports/timeline/kpis
To retrieve a list containing available key performance indicators (KPIs), use the masterId
and the /masters/{masterId}/reports/timeline/kpis
endpoint. The sample code returns available KPIs for a masterId
of 12345678
. Use the masterId
of the actual test run in place of the 12345678
.
The response starts with a result
that contains the test name. Under that are nested children
, starting with the available KPIs (for example, Virtual Users
, Hits
, Errors
, and so on). Within each child is another nested set of children
listing the labels available.
Within the children
listing, you will find an id
for each label. This is the labelId
of the label and will be needed for querying a specific label in Retrieve Time-Series Details.
result
with children for each reported metric.Determine Available KPIs
curl 'https://a.blazemeter.com/api/v4/masters/12345678/reports/timeline/kpis' \
--user 'api_key_id:api_key_secret'
Response200 OK
{
"api_version": 4,
"error": null,
"result": {
"name": "March_04_3:11 PM - Multi-Test",
"id": 12345678,
"children": [
{
"id": "Virtual Users",
"name": "Virtual Users",
"children": [
{
"id": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"name": "ALL",
"children": [
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/na/avg",
"name": "Users",
"yAxis": "users",
"fillOpacity": 0.10000000000000001,
"type": "area",
"availableStatistics": [
"avg"
],
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
}
]
},
{
"id": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"name": "Dummy Sample",
"children": [
{
"id": "label/6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5/na/avg",
"name": "Users",
"yAxis": "users",
"fillOpacity": 0.10000000000000001,
"type": "area",
"availableStatistics": [
"avg"
],
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5"
}
]
},
{
"id": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"name": "bzm - Parallel Controller Dummy",
"children": [
{
"id": "label/17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58/na/avg",
"name": "Users",
"yAxis": "users",
"fillOpacity": 0.10000000000000001,
"type": "area",
"availableStatistics": [
"avg"
],
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58"
}
]
},
{
"id": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201",
"name": "Dummy Sample Success",
"children": [
{
"id": "label/6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201/na/avg",
"name": "Users",
"yAxis": "users",
"fillOpacity": 0.10000000000000001,
"type": "area",
"availableStatistics": [
"avg"
],
"labelId": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201"
}
]
},
{
"id": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e",
"name": "Dummy Sample Error",
"children": [
{
"id": "label/4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e/na/avg",
"name": "Users",
"yAxis": "users",
"fillOpacity": 0.10000000000000001,
"type": "area",
"availableStatistics": [
"avg"
],
"labelId": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e"
}
]
}
]
},
{
"id": "Hits",
"name": "Hits",
"children": [
{
"id": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"name": "ALL",
"children": [
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/n/avg",
"name": "Hit/s Total",
"availableStatistics": [
"avg"
],
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
}
]
},
{
"id": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"name": "Dummy Sample",
"children": [
{
"id": "label/6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5/n/avg",
"name": "Hit/s Total",
"availableStatistics": [
"avg"
],
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5"
}
]
},
{
"id": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"name": "bzm - Parallel Controller Dummy",
"children": [
{
"id": "label/17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58/n/avg",
"name": "Hit/s Total",
"availableStatistics": [
"avg"
],
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58"
}
]
},
{
"id": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201",
"name": "Dummy Sample Success",
"children": [
{
"id": "label/6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201/n/avg",
"name": "Hit/s Total",
"availableStatistics": [
"avg"
],
"labelId": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201"
}
]
},
{
"id": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e",
"name": "Dummy Sample Error",
"children": [
{
"id": "label/4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e/n/avg",
"name": "Hit/s Total",
"availableStatistics": [
"avg"
],
"labelId": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e"
}
]
}
]
},
{
"id": "Errors",
"name": "Errors",
"children": [
{
"id": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"name": "ALL",
"children": [
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/ec/avg",
"name": "Hit/s Errors",
"availableStatistics": [
"avg"
],
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
}
]
},
{
"id": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"name": "Dummy Sample",
"children": [
{
"id": "label/6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5/ec/avg",
"name": "Hit/s Errors",
"availableStatistics": [
"avg"
],
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5"
}
]
},
{
"id": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"name": "bzm - Parallel Controller Dummy",
"children": [
{
"id": "label/17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58/ec/avg",
"name": "Hit/s Errors",
"availableStatistics": [
"avg"
],
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58"
}
]
},
{
"id": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201",
"name": "Dummy Sample Success",
"children": [
{
"id": "label/6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201/ec/avg",
"name": "Hit/s Errors",
"availableStatistics": [
"avg"
],
"labelId": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201"
}
]
},
{
"id": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e",
"name": "Dummy Sample Error",
"children": [
{
"id": "label/4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e/ec/avg",
"name": "Hit/s Errors",
"availableStatistics": [
"avg"
],
"labelId": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e"
}
]
}
]
},
{
"id": "Response Time",
"name": "Response Time",
"children": [
{
"id": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"name": "ALL",
"children": [
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/t",
"name": "Response Time",
"yAxis": "time",
"availableStatistics": [
"avg",
"min",
"max",
"pec50",
"pec90",
"pec95",
"pec99"
],
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
}
]
},
{
"id": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"name": "Dummy Sample",
"children": [
{
"id": "label/6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5/t",
"name": "Response Time",
"yAxis": "time",
"availableStatistics": [
"avg",
"min",
"max",
"pec50",
"pec90",
"pec95",
"pec99"
],
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5"
}
]
},
{
"id": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"name": "bzm - Parallel Controller Dummy",
"children": [
{
"id": "label/17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58/t",
"name": "Response Time",
"yAxis": "time",
"availableStatistics": [
"avg",
"min",
"max",
"pec50",
"pec90",
"pec95",
"pec99"
],
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58"
}
]
},
{
"id": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201",
"name": "Dummy Sample Success",
"children": [
{
"id": "label/6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201/t",
"name": "Response Time",
"yAxis": "time",
"availableStatistics": [
"avg",
"min",
"max",
"pec50",
"pec90",
"pec95",
"pec99"
],
"labelId": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201"
}
]
},
{
"id": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e",
"name": "Dummy Sample Error",
"children": [
{
"id": "label/4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e/t",
"name": "Response Time",
"yAxis": "time",
"availableStatistics": [
"avg",
"min",
"max",
"pec50",
"pec90",
"pec95",
"pec99"
],
"labelId": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e"
}
]
}
]
},
{
"id": "Latency Time",
"name": "Latency Time",
"children": [
{
"id": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"name": "ALL",
"children": [
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/lt",
"name": "Latency Time",
"yAxis": "time",
"availableStatistics": [
"avg"
],
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
}
]
},
{
"id": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"name": "Dummy Sample",
"children": [
{
"id": "label/6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5/lt",
"name": "Latency Time",
"yAxis": "time",
"availableStatistics": [
"avg"
],
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5"
}
]
},
{
"id": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"name": "bzm - Parallel Controller Dummy",
"children": [
{
"id": "label/17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58/lt",
"name": "Latency Time",
"yAxis": "time",
"availableStatistics": [
"avg"
],
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58"
}
]
},
{
"id": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201",
"name": "Dummy Sample Success",
"children": [
{
"id": "label/6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201/lt",
"name": "Latency Time",
"yAxis": "time",
"availableStatistics": [
"avg"
],
"labelId": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201"
}
]
},
{
"id": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e",
"name": "Dummy Sample Error",
"children": [
{
"id": "label/4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e/lt",
"name": "Latency Time",
"yAxis": "time",
"availableStatistics": [
"avg"
],
"labelId": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e"
}
]
}
]
},
{
"id": "Bytes",
"name": "Bytes",
"children": [
{
"id": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"name": "ALL",
"children": [
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/by",
"name": "Bytes/s",
"availableStatistics": [
"avg"
],
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
}
]
},
{
"id": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"name": "Dummy Sample",
"children": [
{
"id": "label/6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5/by",
"name": "Bytes/s",
"availableStatistics": [
"avg"
],
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5"
}
]
},
{
"id": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"name": "bzm - Parallel Controller Dummy",
"children": [
{
"id": "label/17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58/by",
"name": "Bytes/s",
"availableStatistics": [
"avg"
],
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58"
}
]
},
{
"id": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201",
"name": "Dummy Sample Success",
"children": [
{
"id": "label/6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201/by",
"name": "Bytes/s",
"availableStatistics": [
"avg"
],
"labelId": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201"
}
]
},
{
"id": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e",
"name": "Dummy Sample Error",
"children": [
{
"id": "label/4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e/by",
"name": "Bytes/s",
"availableStatistics": [
"avg"
],
"labelId": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e"
}
]
}
]
},
{
"id": "Response Codes",
"name": "Response Codes",
"children": [
{
"id": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"name": "ALL",
"children": [
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/rc/200",
"name": "200",
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
},
{
"id": "label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/rc/404",
"name": "404",
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7"
}
]
},
{
"id": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58",
"name": "bzm - Parallel Controller Dummy",
"children": [
{
"id": "label/17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58/rc/200",
"name": "200",
"labelId": "17477542f8114333b731b111206fa6a2cb560645f62f48b74e7a2768d933cb58"
}
]
},
{
"id": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5",
"name": "Dummy Sample",
"children": [
{
"id": "label/6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5/rc/200",
"name": "200",
"labelId": "6cd7cac6b9903c94dbea09b9973066d5f36c6e1de2cd06c91c853afcd56faff5"
}
]
},
{
"id": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e",
"name": "Dummy Sample Error",
"children": [
{
"id": "label/4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e/rc/404",
"name": "404",
"labelId": "4aea54d655e1ea0a0120da7e43da365c7581482cceaa0ad4c53574e14ecbc39e"
}
]
},
{
"id": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201",
"name": "Dummy Sample Success",
"children": [
{
"id": "label/6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201/rc/200",
"name": "200",
"labelId": "6b7fa6973e0e41304cd0343664ab1def48ed9e12b2989dfd18b123d14c5b1201"
}
]
}
]
}
]
}
}
Retrieve Time-Series Details
API Explorer: /masters//kpi-values
To retrieve time-series details, use the masterId
, the KPI values, and the /masters/{masterId}/kpi-values
endpoint with the following query parameters. The sample code returns time-series details for a masterId
of 12345678
for the determined available KPI label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/na/avg
. Use the actual masterId
in place of the 12345678
and the determined KPI in place of the label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/na/avg
. See the KPI Values Query Parameters for more details on how to setup the parameters for this API.
The response starts with a result that contains the label Id and Name, at minimum. Under that is an array of objects, listing the KPI values in intervals of one second at minimum. No matter which metric is requested, the response will always display n
, na
, and ts
. ts
is the timestamp, in seconds, given in UNIX Epoch time. Visit this Epoch and Unix Timestamp Converter Tool to convert between the timestamp and human readable dates.
Retrieve Time-Series Details for 60 Second Intervals
curl 'https://a.blazemeter.com/api/v4/masters/12345678/kpi-values?id=label%2Fb5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7%2Fna%2Favg&interval=60' \
-H 'Accept: application/json' \
--user 'api_key_id:api_key_secret'
Response200 OK
{
"api_version": 4,
"error": null,
"result": [
{
"labelId": "b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7",
"labelName": "ALL",
"label": "ALL",
"kpis": [
{
"n": 4050,
"na": 49,
"ts": 1551801900,
"t_min": 50,
"t_max": 647,
"t_avg": 124.12148148148148,
"t_pec50": 83,
"t_pec90": 109,
"t_pec95": 611,
"t_pec99": 611,
"lt_avg": 23.630123456790123,
"by_avg": 123.48592592592593,
"n_avg": 67.5,
"ct_avg": 2.7385185185185184,
"ec_avg": 25.583333333333332,
"ec": 1535
},
{
"n": 12385,
"na": 60,
"ts": 1551801960,
"t_min": 50,
"t_max": 615,
"t_avg": 125.49882922890593,
"t_pec50": 84,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.442551473556723,
"by_avg": 123.75696406943884,
"n_avg": 206.41666666666666,
"ct_avg": 2.7489705288655633,
"ec_avg": 78.13333333333334,
"ec": 4688
},
{
"n": 12627,
"na": 60,
"ts": 1551802020,
"t_min": 50,
"t_max": 615,
"t_avg": 125.60932921517383,
"t_pec50": 84,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.288429555713947,
"by_avg": 123.7776193870278,
"n_avg": 210.44999999999999,
"ct_avg": 2.7457828462817773,
"ec_avg": 79.716666666666669,
"ec": 4783
},
{
"n": 12645,
"na": 60,
"ts": 1551802080,
"t_min": 50,
"t_max": 611,
"t_avg": 125.34045077105576,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.288177145116649,
"by_avg": 123.76370106761566,
"n_avg": 210.75,
"ct_avg": 2.7379201265322264,
"ec_avg": 79.799999999999997,
"ec": 4788
},
{
"n": 12658,
"na": 60,
"ts": 1551802140,
"t_min": 50,
"t_max": 611,
"t_avg": 125.13690946437036,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.211802812450625,
"by_avg": 123.75367356612419,
"n_avg": 210.96666666666667,
"ct_avg": 2.754147574656344,
"ec_avg": 79.966666666666669,
"ec": 4798
},
{
"n": 12678,
"na": 60,
"ts": 1551802200,
"t_min": 50,
"t_max": 611,
"t_avg": 124.95070200347058,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.404716832307933,
"by_avg": 123.74727875059158,
"n_avg": 211.30000000000001,
"ct_avg": 2.7487774096860704,
"ec_avg": 80.083333333333329,
"ec": 4805
},
{
"n": 12644,
"na": 60,
"ts": 1551802260,
"t_min": 50,
"t_max": 615,
"t_avg": 125.45460297374248,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.288516292312558,
"by_avg": 123.77348940208795,
"n_avg": 210.73333333333332,
"ct_avg": 2.7444637772856693,
"ec_avg": 79.799999999999997,
"ec": 4788
},
{
"n": 12633,
"na": 60,
"ts": 1551802320,
"t_min": 50,
"t_max": 615,
"t_avg": 125.50542230665717,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.31647273015119,
"by_avg": 123.77297554025172,
"n_avg": 210.55000000000001,
"ct_avg": 2.7417082244914113,
"ec_avg": 79.733333333333334,
"ec": 4784
},
{
"n": 12654,
"na": 60,
"ts": 1551802380,
"t_min": 50,
"t_max": 611,
"t_avg": 125.33783783783784,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.344792160581633,
"by_avg": 123.76576576576576,
"n_avg": 210.90000000000001,
"ct_avg": 2.7485380116959064,
"ec_avg": 79.916666666666671,
"ec": 4795
},
{
"n": 12639,
"na": 60,
"ts": 1551802440,
"t_min": 50,
"t_max": 611,
"t_avg": 125.45035208481684,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.416488646253658,
"by_avg": 123.77735580346547,
"n_avg": 210.65000000000001,
"ct_avg": 2.7456286098583749,
"ec_avg": 79.75,
"ec": 4785
},
{
"n": 12672,
"na": 60,
"ts": 1551802500,
"t_min": 50,
"t_max": 615,
"t_avg": 124.9704071969697,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.343039772727273,
"by_avg": 123.73390151515152,
"n_avg": 211.19999999999999,
"ct_avg": 2.7489741161616164,
"ec_avg": 80.066666666666663,
"ec": 4804
},
{
"n": 12633,
"na": 60,
"ts": 1551802560,
"t_min": 50,
"t_max": 615,
"t_avg": 125.55608327396502,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.327159027942688,
"by_avg": 123.78199952505344,
"n_avg": 210.55000000000001,
"ct_avg": 2.7436080107654557,
"ec_avg": 79.733333333333334,
"ec": 4784
},
{
"n": 12620,
"na": 60,
"ts": 1551802620,
"t_min": 50,
"t_max": 615,
"t_avg": 125.67812995245642,
"t_pec50": 84,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.339619651347068,
"by_avg": 123.78304278922346,
"n_avg": 210.33333333333334,
"ct_avg": 2.739540412044374,
"ec_avg": 79.63333333333334,
"ec": 4778
},
{
"n": 12635,
"na": 60,
"ts": 1551802680,
"t_min": 50,
"t_max": 611,
"t_avg": 125.55425405619312,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.330035615354173,
"by_avg": 123.78947368421052,
"n_avg": 210.58333333333334,
"ct_avg": 2.73597150771666,
"ec_avg": 79.683333333333337,
"ec": 4781
},
{
"n": 12647,
"na": 60,
"ts": 1551802740,
"t_min": 50,
"t_max": 615,
"t_avg": 125.38491341820195,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.281252470941727,
"by_avg": 123.77117102870245,
"n_avg": 210.78333333333333,
"ct_avg": 2.7409662370522652,
"ec_avg": 79.833333333333329,
"ec": 4790
},
{
"n": 12629,
"na": 60,
"ts": 1551802800,
"t_min": 50,
"t_max": 611,
"t_avg": 125.57803468208093,
"t_pec50": 84,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.519043471375404,
"by_avg": 123.77607094781851,
"n_avg": 210.48333333333332,
"ct_avg": 2.7231768152664504,
"ec_avg": 79.700000000000003,
"ec": 4782
},
{
"n": 12645,
"na": 60,
"ts": 1551802860,
"t_min": 50,
"t_max": 615,
"t_avg": 125.40395413206801,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.432344800316329,
"by_avg": 123.77271648873072,
"n_avg": 210.75,
"ct_avg": 2.7523131672597865,
"ec_avg": 79.849999999999994,
"ec": 4791
},
{
"n": 12658,
"na": 60,
"ts": 1551802920,
"t_min": 50,
"t_max": 611,
"t_avg": 125.13722547005847,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.154210775793963,
"by_avg": 123.75367356612419,
"n_avg": 210.96666666666667,
"ct_avg": 2.7559646073629325,
"ec_avg": 79.933333333333337,
"ec": 4796
},
{
"n": 12642,
"na": 60,
"ts": 1551802980,
"t_min": 50,
"t_max": 611,
"t_avg": 125.38071507672836,
"t_pec50": 84,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.273849074513528,
"by_avg": 123.75700047460845,
"n_avg": 210.69999999999999,
"ct_avg": 2.7387280493592785,
"ec_avg": 79.816666666666663,
"ec": 4789
},
{
"n": 12653,
"na": 60,
"ts": 1551803040,
"t_min": 50,
"t_max": 611,
"t_avg": 125.43183434758555,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.41602781948945,
"by_avg": 123.78455702205011,
"n_avg": 210.88333333333333,
"ct_avg": 2.7469374851813799,
"ec_avg": 79.849999999999994,
"ec": 4791
},
{
"n": 2566,
"na": 60,
"ts": 1551803100,
"t_min": 50,
"t_max": 611,
"t_avg": 129.64068589243959,
"t_pec50": 83,
"t_pec90": 110,
"t_pec95": 607,
"t_pec99": 611,
"lt_avg": 23.415042868277474,
"by_avg": 124.70693686671864,
"n_avg": 42.766666666666666,
"ct_avg": 2.7127825409197195,
"ec_avg": 16,
"ec": 960
}
],
"requestedKpi": "na"
}
]
}
KPI Values Query Parameters
Attributes
-
id
stringrequired
This parameter is a concatenation (see Concatenation for ID)
-
interval
integerrequired
The granularity (in seconds) of aggregation. Default is
1
second, which can generate a very large data set, so consider using a larger interval. The only supported granularities are1
,10
, and60
seconds
Concatenation for ID
For this parameter, you need to build the parameter label/labelId/kpi/statistic
:
label
: The stringlabel
labelId
: Use the KPI identified from the retrieved KPIs endpoint resultkpi
: As described by Legend for KPIsstatistic
: As described by Legend for Statistics
For example: id=label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/na/avg
Response Code 200 Example: id=label/b5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7/rc/200
This must be url-encoded for it to run. The /
is %2F
when url-encoded, so the following example is how it would look when included in the API:
id=label%2Fb5c7aed7cd2a308523e7d2847b7815909e864b2fd9c4ea88b00d35adb2ecdfd7%2Fna%2Favg
Legend for KPIs
Attribute | Description | Supported Statistics |
---|---|---|
n
|
Hits | avg
|
na
|
Active Users | avg
|
ec
|
Errors (error count) | avg
|
t
|
Response time | avg , min , max , pec50 , pec90 , pec95 , pec99 |
lt
|
Latency | avg
|
by
|
Bytes | avg
|
rc
|
Response code | xxx
|
Legend for Statistics
Attribute | Description | Supported KPIs |
---|---|---|
avg
|
Average | n , na , ec , t , lt , by |
min
|
Minimum | t
|
max
|
Maximum | t
|
pec50
|
Median | t
|
pec90
|
90% Max Response | t
|
pec95
|
95% Max Response | t
|
pec99
|
99% Max Response | t
|
xxx
|
Response Code xxx | rc
|