Skip to content

feat: improve event listener with backoff, health metrics, and alerting#241

Open
Jerryvic911 wants to merge 1 commit intoCalebux:mainfrom
Jerryvic911:feat/event-listener-resilience
Open

feat: improve event listener with backoff, health metrics, and alerting#241
Jerryvic911 wants to merge 1 commit intoCalebux:mainfrom
Jerryvic911:feat/event-listener-resilience

Conversation

@Jerryvic911
Copy link
Copy Markdown
Contributor

Closes #184
This PR enhances the EventListener with improved reliability and observability:

✅ Changes
Added exponential backoff for failed polling attempts
Prevented overlapping poll executions using a guard flag
Implemented consecutive failure tracking
Added alert trigger after 10 consecutive failures
Exposed event listener metrics via admin health endpoint
Integrated event listener status into overall system health
Ensured proper startup and shutdown lifecycle handling

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 27, 2026

@Jerryvic911 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Successfully merging this pull request may close these issues.

Fix EventListener busy-wait polling loop — replace with event-driven approach

1 participant