Posted On: Mar 10, 2022
Amazon Lambda has launched a new metric, OffsetLag, to monitor the performance of Amazon MSK and Self-managed Kafka. Up until now, Lambda users did not have visibility into how polling runs and had to increasingly rely on the Lambda support team to resolve delays in processing, leading to inefficiencies in data streaming. The OffsetLag metric is a measure of the total number of messages waiting in the message queue to be sent to the target Lambda function. This metric will provide transparency into the amount of data congestion in a message queue. Thus, developers can monitor the performance of events, set alarms and thresholds to check for undesirable congestion and quickly diagnose and solve inefficiencies in their data stream. This feature requires no additional charge to use, and is available in Amazon Web Services China (Beijing) Region, operated by Sinnet, and Amazon Web Services China (Ningxia) Region, operated by NWCD.
To learn more about OffsetLag and how it is calculated check the Lambda Developer Guide.