Viewing metrics for Lambda Event Functions
Use the CloudWatch console to view metrics for your Lambda Event Functions. In the console, you can filter and sort function metrics by function name, alias, version, or event source mapping UUID.
To view metrics on the CloudWatch console
-
Open the Metrics page
( AWS/Lambdanamespace) of the CloudWatch console. -
On the Browse tab, under Metrics, choose any of the following dimensions:
-
By Function Name (
FunctionName) – View aggregate metrics for all versions and aliases of an Event Function. -
By Resource (
Resource) – View metrics for a version or alias of an Event Function. -
By Executed Version (
ExecutedVersion) – View metrics for a combination of alias and version. Use theExecutedVersiondimension to compare error rates for two versions of an Event Function that are both targets of a weighted alias. -
By Event Source Mapping UUID (
EventSourceMappingUUID) – View metrics for an event source mapping. -
Across All Functions (none) – View aggregate metrics for all Event Functions in the current AWS Region.
-
-
Choose a metric. The metric should automatically appear in the visual graph, as well as under the Graphed metrics tab.
By default, graphs use the Sum statistic for all metrics. To choose a different statistic and
customize the graph, use the options on the Graphed metrics tab.
Note
The timestamp on a metric reflects when the Event Function was invoked. Depending on the duration of the invocation, this can be several minutes before the metric is emitted. For example, if your Event Function has a 10-minute timeout, then look more than 10 minutes in the past for accurate metrics.
For more information about CloudWatch, see the Amazon CloudWatch User Guide.