Skip to content

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

Merged
Calebux merged 2 commits intoCalebux:mainfrom
Jerryvic911:feat/event-listener-resilience
Mar 29, 2026
Merged

feat: improve event listener with backoff, health metrics, and alerting#241
Calebux merged 2 commits 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

@Calebux
Copy link
Copy Markdown
Owner

Calebux commented Mar 29, 2026

Fix conflict

Calebux added a commit that referenced this pull request Mar 29, 2026
Calebux added a commit that referenced this pull request Mar 29, 2026
@Calebux Calebux merged commit c54f08e into Calebux:main Mar 29, 2026
2 of 5 checks passed
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

2 participants