Lambda

Overview

AWS Lambda lets you run code without provisioning or managing servers.

Setup

Installation

If you haven’t already, first set up the AWS CloudWatch integration. No additional steps are needed for installation.

Configuration

On the AWS CloudWatch integration page, ensure that the Lambda service is selected for metric collection.

Metrics

Name Description
Invocations
(count)
Measures the number of times a function is invoked in response to
an event or invocation API call. This includes successful and
failed invocations, but does not include throttled attempts.
Errors
(count)
Measures the number of invocations that failed due to errors in the
function (response code 4XX).
Dead Letter Error
(count)
Incremented when Lambda is unable to write the failed event payload
to your configured Dead Letter Queues.
Duration
(milliseconds)
Measures the elapsed wall clock time from when the function code
starts executing as a result of an invocation to when it stops
executing. The maximum data point value possible is the function
timeout configuration.
Throttles
(count)
Measures the number of Lambda function invocation attempts that
were throttled due to invocation rates exceeding the customer’s
concurrent limits (error code 429)
IteratorAge
(milliseconds)
Emitted for stream-based invocations only (functions triggered by
an Amazon DynamoDB stream or Kinesis stream). Measures the age of
the last record for each batch of records processed.

Available Tags

Name Description
awsaccount AWS account associated with the metrics
functionname Name of the Lambda function
region Name of the region
resource Name of the resource