Basic monitoring of lambda functions

Lambda functions are monitored implicitly by the AWS CloudWatch service. The following metrics are monitored:

  • Invocation Count: The count of times that the Lambda function is invoked.
  • Invocation Errors: The count of times that the Lambda function is invoked, but results in an error.
  • Invocation Duration: The time, in milliseconds, that the Lambda function took to execute.
  • Throttled Invocation: The count of times that the Lambda function was throttled and prevented execution, because of a breach of the service limit thresholds.
  • Iterator Age: A special metric, only for stream-based execution triggers like Kinesis. Represents the time difference, in milliseconds, between the time when Lambda received a batch of stream data to process and the time the last record in the batch was written to.
  • DLQ Errors: The count of times when the Lambda function did not execute, due to a variety of reasons. DLQ stands for Dead Letter Queues.