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

Create an alarm on the Kinesis stream for GetRecords.IteratorAge #20

Open
alexwlchan opened this issue May 25, 2023 · 0 comments
Open

Comments

@alexwlchan
Copy link
Contributor

Earlier this week, the Lambda got stuck and stopped processing records from Kinesis into Elasticsearch. The Lambda was timing out; we fixed it by increasing the Lambda timeout – but we only noticed because we were looking at the reporting cluster and noticed the lack of search information.

Screenshot 2023-05-25 at 09 25 28

We could be alerted to this in future by creating an alarm on the GetRecords.IteratorAge metric, and sending a Slack alert when it goes above 0 – this means records aren't being processed off the stream. The graph above shows how this metric spiked when we had the outage.

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

No branches or pull requests

1 participant