feat: show unchecked monitors and tell about regions without checkers #152

Merged
Sebi merged 1 commits from feat/unchecked-monitors into main 2026-11-24 22:36:40 +00:00
Owner

When every checker of a region was gone, its monitors kept looking "up" and nobody was told.

  • Stale results are unknown: a region's last result counts only while it is younger than the evaluator's staleness (3 intervals, at least 2 minutes). The console shows "no data since …" for the region; status page components become unknown instead of operational.
  • Nobody checking: a monitor without any recent region result is marked "not being checked" in the list, counted in a dashboard notice, and noted on its page. Brand-new monitors are left out until they could have reported.
  • Region watch: every API replica checks every 30 s the regions with checkers and enabled monitors. After UPTIME_REGION_ALERT_AFTER (default 5m, 0 disables) without a live checker it emails the platform admins (platform regions) or the organization's owners (own regions), once, and again when a checker is back; Redis picks the replica that sends. The dashboard names such regions immediately.

Not changed: a region without results still keeps a multi-region monitor from going down, as designed.

🤖 Generated with Claude Code

https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3

When every checker of a region was gone, its monitors kept looking \"up\" and nobody was told. - **Stale results are unknown:** a region's last result counts only while it is younger than the evaluator's staleness (3 intervals, at least 2 minutes). The console shows \"no data since …\" for the region; status page components become unknown instead of operational. - **Nobody checking:** a monitor without any recent region result is marked \"not being checked\" in the list, counted in a dashboard notice, and noted on its page. Brand-new monitors are left out until they could have reported. - **Region watch:** every API replica checks every 30 s the regions with checkers and enabled monitors. After `UPTIME_REGION_ALERT_AFTER` (default 5m, 0 disables) without a live checker it emails the platform admins (platform regions) or the organization's owners (own regions), once, and again when a checker is back; Redis picks the replica that sends. The dashboard names such regions immediately. Not changed: a region without results still keeps a multi-region monitor from going down, as designed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi added 1 commit 2026-11-24 22:35:57 +00:00
feat: show unchecked monitors and tell about regions without checkers
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 6m17s
ci / test (pull_request) Successful in 12m7s
ci / build (pull_request) Successful in 19m34s
ci / image (pull_request) In progress
dc2e21f964
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
Sebi merged commit 4d03a86614 into main 2026-11-24 22:36:40 +00:00
Sebi deleted branch feat/unchecked-monitors 2026-11-24 22:36:42 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#152