In this chapter, you learned how to monitor your Lambda function in near real time using AWS CloudWatch metrics. You also learned how to publish custom metrics and detect problems with alerts and reporting. In addition, we covered how to stream a function's code logs to CloudWatch. Finally, we saw how to use AWS X-Ray to debug, how to trace upstream and downstream calls, and how to integrate the X-Ray SDK with Lambda in Golang.
In the next chapter, you will learn about securing your serverless application.