Alarming and metrics

The following are the best practices for Alarming and Metrics:

  • You can use Amazon CloudWatch alarms and AWS Lambda metrics instead of using the alarms and metrics in Lambda function code. You can catch the issues in the early stage of the development process. You can set up and configure an alarm based on your expected time to run a Lambda function execution.
  • You can leverage AWS Lambda metrics and dimensions, as well as the logging directory, to catch any app errors.

Get Expert AWS Development 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.