Monitoring and observability
Understanding the state of a Lambda-based workload is important for ensuring the reliability and health of the application. Monitoring can provide the information you need to help your development and operations teams react to issues. It can help you understand a system’s state using a predefined set of metrics. Observability, on the other hand, uses instrumentation to help provide context and insights to aid monitoring. While monitoring can help you discover that there is an issue, observability can help you discover why.
Topics
- Monitoring concepts in Lambda-based applications
- Logging and metrics with Amazon CloudWatch
- Searching across logs with CloudWatch Logs Insights
- Tracing requests with AWS X-Ray
- Troubleshooting walkthrough: isolating and resolving issues
- A general approach to debugging Lambda performance issues and errors
- Monitoring Lambda code storage
This chapter covers:
-
How existing monitoring concepts apply to Lambda-based applications.
-
Using Amazon CloudWatch, CloudWatch Logs Insights, and AWS X-Ray to apply monitoring across services.
-
Troubleshooting application issues in an example walkthrough.
-
Monitoring Lambda code storage usage.