Repository navigation
Description
Context
#42 makes the availability SLO (99.5 % over a rolling 30 days, SPEC §6.4) a number read from status.woven: the Gatus uptime of the Thrust deep probe, GET /api/v1/endpoints/<key>/uptimes/30d. Gatus keeps that history in SQLite on the status page's own VM (storage in shared/aws/status-page/files/gatus.yaml, /data/gatus.db), and the same VM runs the prober. The infra repository's status-page doc already says that replacing the instance loses the uptime history (docs/src/status-page.md: the AMI is pinned, and bumps are deliberate maintenance).
Problem
Thrust's uptime record lives only on the status page's own server, so a rebuild of that server erases it and the server's own glitches count as Thrust outages.
- A rebuild erases the record. An AMI bump, an instance replacement or a lost disk empties the 30-day window. The SLO figure then has no history, and the M2 exit criterion "four weeks inside the SLO" (PLAN.md) cannot be read, or silently restarts from zero. Nothing else holds a copy.
- The prober's own faults count against Thrust. Gatus counts every failed result in the uptime figure, whatever the cause. The status VM suspending, a WARP wedge, an egress failure or a Gatus restart all turn the probe red while the product is up. The page can tell these apart (the
Controlgroup, explained in the header ofgatus.yaml), but the uptime figure does not use that, so the SLO number is only as reliable as the probe path to it. - Both directions mislead the exit trigger in ADR-0094 (two breaches of the monthly budget in a quarter, or an EKS upgrade that needs more than the budget moves the database): a rebuild can hide breaches, and a prober fault can fabricate one.
Why it was accepted
#42 takes the probe as the single SLO source on purpose (Q-0094.4: measured end to end, no maintenance window excluded). Gatus uptime is the cheapest source that exists, and 30 days of data does not exist yet. This issue is the cost of that choice, written down.
Candidate ways to pay it back (not decided)
- Keep the history off the instance: a periodic export or backup of the SQLite file, or a volume that outlives the VM.
- Cross-check the figure: a second prober elsewhere, or push results from another place through Gatus
external-endpoints(reserved, commented out ingatus.yaml). - Read the figure with the prober's own health taken out: discount windows in which the
Controlgroup was red. - Record the 30-day figure at fixed dates (for example at each month end) in the repository, so a lost history costs one month, not the whole record.
The fix is mostly in the infrastructure repository (status page); this issue tracks the Thrust-side cost, and an infra issue can be filed from it once the owner picks a direction.
Done when
- A rebuild or restore drill of the status VM shows that the SLO figure survives it (or the loss is bounded and written down).
- A prober-side outage either does not count against the figure or is flagged beside it, and the choice is written in SPEC §6.4.
- The exit-trigger text in ADR-0094 says how the figure is read when either case occurs.
References
- chore(infra):
GET /healthz?deep=1through the database and astatus.wovenprobe; SLO measured on it #42 (deep probe and the SLO source); feat(worker): reject non-canonical-case/api,/auth,/livepaths and run the Worker first at the Access phase #50 (the/healthzAccess bypass, later) - SPEC §6.4 (
SPEC.md:89); Q-0094.4, Q-G5.2; ADR-0094 round-29 conditions (adrs/infra/0094-postgres-hosting-cnpg-tunnel-vpc.md:151-155) - Infra repository:
shared/aws/status-page/files/gatus.yaml(storage, prober),docs/src/status-page.md,.claude/rules/status-page.md
Activity
docs: record the live deep probe on status.woven (line, control, firs…