Prometheus /metrics endpoint & observability #15
Labels
No labels
area/ai
area/backend
area/frontend
area/infra
area/scheduler
area/wled
good-first-issue
priority/high
priority/low
priority/medium
type/bug
type/chore
type/ci-cd
type/docs
type/feature
type/qa
v1.0.0
v1.1.0
v1.2.0
v2.0.0
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rbrooks/Iris-WLED#15
Loading…
Add table
Add a link
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?
Goal
Expose operational metrics so Iris can be monitored (and alerted on) in a homelab Prometheus/Grafana stack.
Why it's valuable
Iris is a set-and-forget scheduler; when a nightly push silently fails, the user wants an alert, not to notice dark lights. v1 has structured JSON logging and a
schedule_log, but no scrape target.Sketch
prometheus-client, exposeGET /metrics(env-gated).Acceptance criteria
/metricsexposes counters/gauges for pushes, scheduler jobs, WLED connectivityProposed enhancement (not in the original spec).