Prometheus-style /metrics endpoint #73
Labels
No labels
area:ai
area:ci-cd
area:notifications
area:observability
area:public-pages
backlog
bug
duplicate
enhancement
help wanted
invalid
question
type:decision
type:feature
type:infra
type:maintenance
type:security
v1.0.1
v1.1.0
v1.2.0
v1.3.0
v2.0.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/WeatherBot#73
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?
Freshness/delivery counters already exist in-app; exporting them (poll success, dispatch failures, SSE clients, queue depths) plugs WeatherBot into the same homelab monitoring as everything else and pairs with #8 (proactive alerting could then ride existing alertmanager instead of bespoke code — worth noting on #8 before building). Effort S, value M.
Filed from the 2026-07-17 codebase audit (
docs/.internal/report-2026-07-17.md), finding I-03.Done in #96 (merged). Hand-rendered Prometheus
/metrics(no new dep) exporting per-feed freshness age, failure count, up-state, and 24h event counts (poll success/failure, notifier dispatch per channel, cache outcomes). Gated byMETRICS_ENABLED; optionalMETRICS_TOKENbearer (constant-time compare, 401 otherwise). SSE client count is intentionally omitted (not tracked anywhere — didn't want a misleading constant). A comment notes the Alertmanager pairing with #8.