Lambda function metrics - Amazon Compute Optimizer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Lambda function metrics

Compute Optimizer analyzes the following CloudWatch metrics of your Lambda functions.

Metric Description
Invocations

The number of times your function code is executed, including successful executions and executions that result in a function error.

Duration

The amount of time that your function code spends processing an event.

Errors

The number of invocations that result in a function error. Function errors include exceptions thrown by your code and exceptions thrown by the Lambda runtime. The runtime returns errors for issues such as timeouts and configuration errors.

Throttles

The number of invocation requests that are throttled.

For more information about these metrics, see Working with Amazon Lambda function metrics in the Amazon Lambda Developer Guide.

In addition to these metrics, Compute Optimizer analyzes the memory utilization of your function during the look-back period. For more information about memory utilization for Lambda functions, see Using Lambda Insights in CloudWatch in the Amazon Lambda Developer Guide.