Lambda monitoring is different from traditional application monitoring, due to the fact that you're not managing the underlying infrastructure on which your code is running. Thus, there is no access to OS metrics. However, you still need function-level monitoring to optimize your function performance and debug in case of failure. In this chapter, you will learn how to achieve that and also how to debug and troubleshoot serverless applications in AWS. You will learn to set up alarms based on metric thresholds in CloudWatch to be notified of potential issues. You will also look at how to use AWS X-Ray to profile the application to detect abnormal behavior.




















































