Posted On: Jun 18, 2023
Amazon Lambda now supports three new CloudWatch metrics AsyncEventsReceived, AsyncEventAge and AsyncEventsDropped, to monitor the performance of asynchronous event processing. Until now, Lambda customers had limited visibility into the processing of asynchronous requests, and had to rely on Lambda service teams to resolve any processing delays leading to inefficiencies in asynchronous event processing. With these new metrics, customers gain better visibility into their asynchronous invocations and can track the events sent to Lambda, monitor delays in event processing and take corrective actions if required.
AsyncEventsReceived is a measure of the total number of events Lambda was able to successfully queue for processing, and provides transparency into the number of events sent to the Lambda function for an asynchronous invocation. AsyncEventAge is a measure of time between Lambda successfully queuing the event and invoking the function, and provides transparency into the event processing time of your asynchronous Lambda invocations. AsyncEventsDropped is a measure of the total number of events that were dropped without successfully executing the function, which could happen due to multiple reasons such as Maximum Event Age exceeded, Maximum Retry Attempts exhausted or function with reserved concurrency set to 0.
To learn more about these metrics visit Lambda Developer Guide. These metrics are available to you in Amazon Web Services China (Beijing) Region, operated by Sinnet, and Amazon Web Services China (Ningxia) Region, operated by NWCD at no cost to you. However, charges apply for CloudWatch Metric Streams and CloudWatch Alarms. See CloudWatch pricing for information.