Monitoring

When we talk about monitoring serverless applications , we do not need to worry about monitoring CPU usage or memory usage, and we don't need to update our system package, as all these are managed by AWS. But the Lambda function still needs to be monitored for execution failures, because in a production environment one single function failure could be a disaster. 

CloudWatch, by default, provides metrics for Lambda functionsand these metrics are: 

  • Invocation: Number of times the functions were invoked 
  • Errors: Number of times the functions failed due to various errors, timeouts, unhandled exceptions, memory problems, and other issues
  • Throttles: Number of times functions throttled, as AWS limits the number of concurrent executions ...

Get DevOps for Serverless Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.