feat(poller): send events to events stream #428

Closed
opened 2026-03-28 04:24:28 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #1327
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1327
Original created: 2025-07-23T22:40:50Z


In handlePoller, the logic for recovery (!ps.IsHealthy && !ps.LastSeen.Before(threshold) && ps.AlertSent) is a bit complex. This could potentially be simplified by having the ReportStatus function explicitly trigger a recovery event when it receives a healthy report from a poller that was previously marked as unhealthy.

Imported from GitHub. Original GitHub issue: #1327 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1327 Original created: 2025-07-23T22:40:50Z --- In handlePoller, the logic for recovery (!ps.IsHealthy && !ps.LastSeen.Before(threshold) && ps.AlertSent) is a bit complex. This could potentially be simplified by having the ReportStatus function explicitly trigger a recovery event when it receives a healthy report from a poller that was previously marked as unhealthy.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#428
No description provided.