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

Use DeadLetterQueue for alarms on ScheduledLambda #63

Open
freenerd opened this issue Jun 24, 2019 · 2 comments
Open

Use DeadLetterQueue for alarms on ScheduledLambda #63

freenerd opened this issue Jun 24, 2019 · 2 comments

Comments

@freenerd
Copy link

Right now ScheduledLambda alarms on every single error of a lambda function. I propose to change this to never alarm on errors but instead use a Dead Letter Queue and alarm whenever something lands in there. This will make ScheduledLambda alarms less noisy to transient errors, while still retaining the visibility into persistent problems.

2019-06-24 at 13 40

https://docs.aws.amazon.com/lambda/latest/dg/dlq.html

@dputtick
Copy link

@freenerd would you be ok with making this configurable? I can think of some ScheduledLambdas I've written where I do want to get paged every time they fail

@npeternel
Copy link
Contributor

I used a DLQ implementation for a daily Scheduled Lambda so that we are only alarmed on three failed invocations and it has worked well so far. The only downside is manually cleaning up the messages in the queue after resolving the errors.

Following up to the above comment, the Error Alarm should also be configurable - I currently manually delete the Error Alarm in favor of the DLQ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants