Monitoring Lambda functions
Your job is not done once you have developed and deployed your Lambda function. To ensure that it is functioning correctly as it runs, specific metrics should be monitored. Fortunately, Lambda integrates with several other AWS services to help you not only monitor your functions but also troubleshoot them when the need arises.
If you go to the AWS Console in the region where your Lambda function has been deployed, you will find a menu item that you can click on in the vertical menu bar named Monitor:
Once you enter the Monitor section of the Lambda console, you are instantly presented with a pre-built dashboard that allows you to see basic but vital metrics graphically for your Lambda function at a glance. The following metrics are presented:
- Invocations
- Duration
- Error count and success rate
- Throttles
- Async delivery failure ...