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
Owner

Closes #70. What the new dashboard (#69), Services page (#71) and Hosts view (#72) need from obs-beacond: what happened since your last visit, each service's last 24 hours in half-hour cells with 24 h and 30 d uptime (also GET /api/v1/services with parts, needs and needed-by), a watch list (disks filling within 30 days, hosts busier than usual for the hour, hosts restarted in the last day), and attention items carrying their open incident so the page can offer I'm on it. History is read at most once a minute, the slow parts every ten. Checked against the local demo with 30 days of history: all 16 attention items find their incident, the strips match the demo's story, phx1-app20's container disk shows as full in about 7 days; overview stays at ~40 ms. docs/formats.md: The dashboard's briefing.

Closes #70. What the new dashboard (#69), Services page (#71) and Hosts view (#72) need from obs-beacond: what happened since your last visit, each service's last 24 hours in half-hour cells with 24 h and 30 d uptime (also GET /api/v1/services with parts, needs and needed-by), a watch list (disks filling within 30 days, hosts busier than usual for the hour, hosts restarted in the last day), and attention items carrying their open incident so the page can offer I'm on it. History is read at most once a minute, the slow parts every ten. Checked against the local demo with 30 days of history: all 16 attention items find their incident, the strips match the demo's story, phx1-app20's container disk shows as full in about 7 days; overview stays at ~40 ms. docs/formats.md: The dashboard's briefing.
jcoffey-dev added 1 commit 2026-11-16 15:39:03 +00:00
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
93b665dfbd
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.
jcoffey-dev merged commit 7dcb24a026 into main 2026-11-16 15:48:37 +00:00
jcoffey-dev deleted branch feature/today-server 2026-11-16 15:48:37 +00:00
Sign in to join this conversation.