feat(observability): log source polls with type, name, status and duration #16
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.