Lambda function metrics
Compute Optimizer analyzes the following CloudWatch metrics of your Lambda functions. It uses these metrics to make its Lambda function recommendations.
| Metric | Description |
|---|---|
Invocations
|
The number of times Lambda runs your function code. This includes runs that succeed and runs that end in a function error. |
Duration
|
The amount of time that your function code spends processing an event. |
Errors
|
The number of invocations that end in a function error, such as an error from your code or from the Lambda runtime. |
Throttles
|
The number of invocation requests that are throttled. |
For more information about these metrics, see Using Amazon CloudWatch metrics with Lambda in the AWS Lambda Developer Guide.