Response Time Limits
API Check Limits - Response Time Limits
What are Response Time Limits?
Response time limits allow you to define thresholds for marking an API check as degraded or failed based on how long it takes to receive a response. This helps in identifying performance issues early and taking necessary actions to maintain optimal API performance.
How to Configure Response Time Limits
You can configure the following limits:
- Degraded After: Mark the check as degraded if the response time exceeds a specified number of milliseconds. This indicates that the API is still functioning but not performing optimally.
- Failed After: Mark the check as failed if the response time exceeds a specified number of milliseconds. This indicates that the API is not performing as expected and needs immediate attention.
If the API check is both degraded and failed based on the response time limits, it will be marked as failed. This ensures that any severe performance issues are promptly highlighted.
Practical Use Cases
- Performance Monitoring: Set thresholds to monitor and maintain API performance. For example, mark an API as degraded if the response time exceeds 2000ms and failed if it exceeds 5000ms.
- Early Warning System: Use degraded limits as an early warning system to identify potential performance issues before they escalate into failures.
- Service Level Agreements (SLAs): Ensure that your API meets the response time requirements specified in your SLAs by setting appropriate limits.
Benefits of Setting Response Time Limits
- Proactive Monitoring: Identify performance degradation early and take corrective actions before it impacts users.
- Enhanced Reliability: Maintain high API reliability by ensuring timely responses.
- Improved User Experience: Ensure that users receive quick and efficient responses from your API.
By configuring response time limits, you can ensure that your API performs optimally and provides a consistent and reliable experience for your users.