Monitoring
We can integrate the cloudwatch logs at the stage levels and ApI basis. With X-Ray, the full picture of the api-gateway and lambda can be displayed
Cloudwatch Metrics:
CacheHitCount
the more the better caching mechanism, (Number of request served from the cache)CacheMissCount
the less the better caching mechanism (Number of requests served from the backend)Count
Total number of API request at a certain time frameIntegrationLatency
Time frame of sending request to lambda and getting response from lambdaLatency
Time to receive request in API Gateway and sending response from API Gateway