Overview: last visit, service strips, a watch list, incidents on attention items #73

Merged
jcoffey-dev merged 1 commits from feature/today-server into main 2026-11-16 15:48:37 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 93b665dfbd Overview: last visit, service strips, a watch list, incidents on attention items
ci / postgres (pull_request) Successful in 3m56s
ci / check (pull_request) Successful in 9m11s
What the new dashboard needs from obs-beacond (#70):

- today: incidents opened or closed since this person's previous visit
  (a visit ends after 30 minutes away; none on record, or a demo
  visitor: the last 12 hours), with counts of opened, resolved, fixed
  on their own and alerts that went out
- services: each service's last 24 hours as 48 half-hour cells (the
  worst status in each) and its uptime over 24 hours and 30 days;
  GET /api/v1/services adds its parts, needs and what needs it
- watch: disks filling within 30 days, hosts busier than usual for the
  hour, hosts started in the last day
- attention items carry their key, what they take down and their open
  incident, so the dashboard can offer "I'm on it"

History is read at most once a minute (strips), every ten (30 days, the
watch list), however many dashboards are open.
2026-11-16 08:38:52 -07:00