feat(observability): log source polls with type, name, status and duration #16

Closed
opened 2026-11-01 16:49:01 +00:00 by jfro · 0 comments
Owner

There are no Logger calls in lib/lamplighter/sources/*.ex; only the Poller logs "[id] poll failed: msg" with no type/name, duration or HTTP status, and it repeats every interval. Log failures with source type, name, status and duration, and log state changes (failing -> ok) instead of every interval.

Found in the pre-1.0 gap audit of main @ 69e09f0.

There are no Logger calls in lib/lamplighter/sources/*.ex; only the Poller logs "[id] poll failed: msg" with no type/name, duration or HTTP status, and it repeats every interval. Log failures with source type, name, status and duration, and log state changes (failing -> ok) instead of every interval. Found in the pre-1.0 gap audit of main @ 69e09f0.
jfro added this to the v1.0 milestone 2026-11-01 20:07:11 +00:00
jfro closed this issue 2026-11-01 21:12:14 +00:00
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
jfro/lamplighter#16
No description provided.