Monitoring and troubleshooting Lambda functions
Amazon Lambda integrates with other Amazon services to help you monitor and troubleshoot your Lambda functions. Lambda automatically monitors Lambda functions on your behalf and reports metrics through Amazon CloudWatch. To help you monitor your code when it runs, Lambda automatically tracks the number of requests, the invocation duration per request, and the number of requests that result in an error.
You can use other Amazon services to troubleshoot your Lambda functions. This section describes how to use these Amazon services to monitor, trace, debug, and troubleshoot your Lambda functions and applications. For details about function logging and errors in each runtime, see individual runtime sections.
For more information about monitoring Lambda applications, see
Monitoring and observability
Sections
- Monitoring functions on the Lambda console
- View metrics for Lambda functions
- Using Amazon CloudWatch logs with Amazon Lambda
- Logging Amazon Lambda API calls using Amazon CloudTrail
- Visualize Lambda function invocations using Amazon X-Ray
- Monitor function performance with Amazon CloudWatch Lambda Insights
- Example workflows using other Amazon services