3 Commits
Author SHA1 Message Date
Sebastian UnterschützandClaude Opus 5.5 2054660625 fix(evaluate): a region without results no longer keeps a monitor up
ci / image (pull_request) Successful in 3m16s
ci / test (pull_request) Successful in 9m3s
ci / lint (pull_request) Successful in 10m9s
ci / build (pull_request) Successful in 9m54s
ci / lint (push) Skipped
ci / build (push) Skipped
ci / test (push) Skipped
ci / image (push) Skipped
A monitor went down only when every assigned region had failed and
reported recently, so one region whose checkers were gone kept a monitor
up for good, even while all other regions reported its target failing.
Regions without recent results are now left out: a monitor goes down
when every region that reported recently has failed. One region failing
while another succeeds still does not alert, and with every region
silent nothing is judged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-24 23:43:02 +01:00
Sebastian UnterschützandClaude Opus 5.5 dc2e21f964 feat: show unchecked monitors and tell about regions without checkers
ci / build (pull_request) Successful in 19m34s
ci / image (pull_request) Successful in 3m15s
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (push) Skipped
ci / lint (pull_request) Successful in 6m17s
ci / test (pull_request) Successful in 12m7s
A region whose checkers had all gone left its monitors looking up: the
console and status pages took the last result, however old, and nobody
was told.

- A region's last result counts only while it is younger than the
  evaluator's staleness (3 intervals, at least 2 minutes); older ones
  show as "no data since …" in the console and leave status page
  components unknown instead of operational.
- A monitor no region has reported for recently is marked "not being
  checked", counted on the dashboard with an explanation, and noted on
  its page.
- A region watch on every API replica emails the platform's admins
  (platform regions) or the organization's owners (own regions) once a
  region with checkers and enabled monitors has had no live checker for
  UPTIME_REGION_ALERT_AFTER (default 5m), and again when one is back.
  The dashboard names such regions at once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-24 23:35:43 +01:00
Sebastian UnterschützandClaude Opus 5.5 de7c6fc842 feat(evaluate): alert only when every region of a monitor fails
Regions without recent results count as unknown and keep the monitor up.
State changes are decided by one Lua script so concurrent results on
several API replicas yield a single transition.

Refs #14

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:23:37 +01:00