Response time
Response time indicates total time taken to process an incoming API request and send the response to the client during API transactions. This includes the time taken by API Gateway and the backend service to process the request. This widget provides a comprehensive overview of response time of all runtimes along with the details of the runtime with maximum and minimum latency to make informed business decisions. Click Top runtimes or All runtimes tab to view its respective response time in the runtime split and line graph.
You can customize the number of Top runtimes to display using
Row settings under
User preferences - Display. For more details, see
Customizing Row Settings.
The
Upward Trending tab displays the list of runtimes for which the response time trend percentage is lesser than the set response time trend threshold in the
Runtime: Upward trending/improving section of the
User preference - Threshold page. The
Downward trending tab displays the list of runtimes for which the response time trend percentage is greater than the set response time trend threshold in the
Runtime: Downward trending / deteriorating by section of the
User preferences - Threshold page. For more details on how to set the trend threshold, see
Change Threshold Settings.
How to determine the response time and trend analysis for all runtimes?
Example:
Let’s determine the response time of the runtime A for 4 hours based on the following metrics. Let’s assume:
Time Stamp | Response time | Total transactions |
1st one hour | 1.05ms | 10 |
1st one hour | 2.07ms | 15 |
1st one hour | 0.08ms | 20 |
1st one hour | 1.07ms | 30 |
Response time of the runtime A for 4 hours=[((1.05∗10)+(2.07∗15)+(0.08∗20)+(1.07∗30))/75]=1.00ms
Similarly, let’s assume, the response time of the runtime B for 4 hours is 0.05ms
Let’s determine the response time of all runtimes for 4 hours. Let’s assume:
Runtime | Reponse time | Total transactions |
A | 1.00ms | 75 |
B | 0.05ms | 60 |
Response time of all runtimes=[((1.00∗75)+(0.05∗60))/135]=0.57ms
Response time trend analysis allows you to compare current and past response time based on the time range you choose to spot changes, which helps in making informed business decisions and predicting future performance..
You can replace 24 hours with the time range that you select. If the determined trend percentage of response time is
![*](chapterTOC_bullet.png)
positive value, it is displayed in red with an upward arrow, indicating that response time is increasing.
![*](chapterTOC_bullet.png)
negative value, it is displayed in green with a downward arrow, indicating that response time is decreasing.
Example:
Let’s determine the response time trend percentage for all runtimes for 24 hours. Let’s assume:
Response time of all runtimes in last 24 hours | Response time of all runtimes in previous 24 hours |
0.57ms | 3.41ms |
Response time trend percentage for runtimes for 24 hours time range= [(0.57-3.41)/3.41] * 100 = -83.28%
The determined response time trend percentage, -83.28% (negative), appears in green with a downward arrow indicating that the error rate has decreased compared to the previous 24 hours.