API Gateway is nearing timeout

Monitors the latency of top 5% slowest API Gateway requests and raises an alarm when they take longer than 25 seconds to execute.

Dashbird continuously monitors and analyses your serverless applications to ensure reliability, cost and performance optimisation and alignment with the Well Architected Framework.

Product Features Start Free Trial
Severity: CRITICAL
Interval: 30 minutes
Latency limit: 25 seconds
Timeout treshold: 30 seconds
Metric: METRICS.APIGATEWAY.APIGATEWAY_LATENCY_P95

API Gateway has a timeout limit of 30 seconds for all requests. This cannot be changed in the configuration. In almost all cases, APIs should be far quicker and if you see your endpoints taking such a long time to respond consistently, it is likely worth investigating the situation further.

With this insight, an alarm is raised if the duration of a request is equal or higher than 25 seconds.


This rule resolution is part of the Dashbird Serverless Well Architected Reports tool for AWS. Dashbird features a collection of rules and checks continuously applied to your infrastructure, surfacing ways to improve it.

Learn about Incident detection, optimization and best practice insights for API Gateway.

Industry leader in serverless monitoring

Dashbird is a monitoring, debugging and intelligence platform designed to help serverless developers build, operate, improve, and scale their modern cloud applications on AWS environment securely and with ease.