Hi
How can i set alarms for AWS API gateway using serverless? I want to set alarms whenever a request is returned 4xx/5xx responses by my API.
I found a plugin to add alerts for lambda functions, but not for AWS api gateway.
Adding alert to Lambda is not preferred because:
- Some calls may not reach Lambda functions (for example if request fails to authenticate).
- One API Gateway endpoint may invoke multiple lambda functions. I don’t want to create multiple alerts
Regards