Monitoring and observability for serverless applications
Remember that “Everything fails all the time” (Werner Wogels, CTO, Amazon). To operate serverless applications, it’s nearly impossible to bypass monitoring and observability. We have seen how AWS services protect themselves with quotas. There’s a strong need to monitor them, along with the application’s telemetry signals.
AWS provides observability and monitoring tools to help you monitor and troubleshoot your serverless applications. Amazon CloudWatch and AWS X-Ray (traces) are two essential services for monitoring serverless applications. These services are serverless and require no additional operational burden for customers. Imagine if you had to monitor the monitoring system itself!
CloudWatch collects and processes raw data into readable, near-real-time metrics and logs. For AWS Lambda, some important metrics to monitor are as follows:
- Invocations: The number of times your...