Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lambda): add isOffsetLag prop for alarms/dashboards for OffsetLag metric #574

Merged
merged 1 commit into from
Sep 18, 2024

Commits on Sep 17, 2024

  1. feat(lambda): add isOffsetLag prop and add support for generating an …

    …alarm and widget for the Lambda OffsetLag metric
    
    Lambda has added support for connecting to Kafka streams via Event Source Mappings (see: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html). This comes with the addition of a new CW metric under the AWS/Lambda namespace, `OffsetLag` (see: https://aws.amazon.com/blogs/compute/offset-lag-metric-for-amazon-msk-as-an-event-source-for-lambda/). This metric is different than the existing IteratorAge metric used for Kinesis streams. OffsetLag represents the difference between the last record written to a Kafka topic and the last record that the function's consumer group has processed (note the metric is in # of records, it's not a time metric). See here: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics.html.
    
    Defaulted the monitor to `false` since it's a new prop and is not widely used.
    Connor Koch authored and Connor Koch committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    32a88fd View commit details
    Browse the repository at this point in the history