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) Successful in 3m15s

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
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-24 23:35:43 +01:00
1 parent f3d0a4c844
commit dc2e21f964
18 files changed
+3272 -2652

No files matched your search

+11
View File
@@ -516,6 +516,10 @@
"console.totp_missing_action": "Jetzt einrichten",
"email.opened.body": "{{.Monitor}} ({{.Target}}) ist in allen Regionen nicht erreichbar seit {{.Since}}.\n\nLetzte Fehler:\n{{.Cause}}\n\nDu erhältst diese Nachricht, weil ein Benachrichtigungskanal deiner Organisation diese Adresse nutzt.",
"email.opened.subject": "[DOWN] {{.Monitor}}",
"email.region_back.body": "Region {{.Region}} hat wieder einen aktiven Checker; seit {{.Since}} hatte sie keinen. Überfällige Prüfungen laufen sofort.\n\n{{.Link}}",
"email.region_back.subject": "Region {{.Region}} prüft wieder",
"email.region_down.body": "Region {{.Region}} hat seit {{.Minutes}} Minuten keinen aktiven Checker, seit {{.Since}}.\n\nMonitore, die nur von dort geprüft werden, werden gerade nicht geprüft: Sie fallen weder aus noch alarmieren sie. Monitore mit weiteren Regionen können nicht ausfallen, solange diese Region nichts meldet.\n\nStarte einen Checker der Region oder sieh dir seine Logs an:\n{{.Link}}",
"email.region_down.subject": "Region {{.Region}} hat keinen aktiven Checker",
"email.resolved.body": "{{.Monitor}} ({{.Target}}) ist nach {{.Duration}} wieder erreichbar.",
"email.resolved.subject": "[UP] {{.Monitor}}",
"email.support_admin.body": "Hallo,\n\nein Support-Ticket wartet auf eine Antwort:\n\n{{.Subject}}\n\n{{.Link}}",
@@ -1045,6 +1049,7 @@
"monitors.db_tls_verify": "TLS mit geprüftem Zertifikat",
"monitors.db_user": "Benutzer",
"monitors.db_user_redis": "Benutzer (ACL, optional)",
"monitors.dead_region": "Region {{.Region}} hat seit {{.Since}} keinen aktiven Checker.",
"monitors.delete": "Monitor löschen",
"monitors.delete_confirm": "Diesen Monitor samt Verlauf löschen?",
"monitors.dns_expect": "Erwartete Antwort (optional)",
@@ -1081,6 +1086,7 @@
"monitors.minecraft_hint": "Ziel ist host:port (Java meist 25565, Bedrock 19132). Pingt den Server wie die Serverliste im Spiel.",
"monitors.minecraft_java": "Java Edition",
"monitors.new": "Neuer Monitor",
"monitors.no_data_since": "keine Daten seit {{.Time}}",
"monitors.no_match": "Kein Monitor gefunden.",
"monitors.no_results": "Noch keine Ergebnisse.",
"monitors.op_absent": "fehlt",
@@ -1167,6 +1173,11 @@
"monitors.type_steam": "Steam-Spieleserver",
"monitors.type_tcp": "TCP-Port",
"monitors.type_tls": "TLS-Zertifikat",
"monitors.unchecked": "wird nicht geprüft",
"monitors.unchecked_banner": {
"one": "1 Monitor wird gerade nicht geprüft: Keine Region hat für ihn in letzter Zeit gemeldet. Er fällt weder aus noch alarmiert er, bis wieder ein Checker meldet.",
"other": "{{.Count}} Monitore werden gerade nicht geprüft: Keine Region hat für sie in letzter Zeit gemeldet. Sie fallen weder aus noch alarmieren sie, bis wieder ein Checker meldet."
},
"monitors.ungrouped": "Ohne Gruppe",
"monitors.uptime_chart": "Uptime pro Zeitraum",
"monitors.verify_tls": "TLS-Zertifikat prüfen",
+11
View File
@@ -516,6 +516,10 @@
"console.totp_missing_action": "Set up now",
"email.opened.body": "{{.Monitor}} ({{.Target}}) is down in all of its regions since {{.Since}}.\n\nLast errors:\n{{.Cause}}\n\nYou receive this because a notification channel of your organization is set up for this address.",
"email.opened.subject": "[DOWN] {{.Monitor}}",
"email.region_back.body": "Region {{.Region}} has an active checker again; it had none since {{.Since}}. Overdue checks run right away.\n\n{{.Link}}",
"email.region_back.subject": "Region {{.Region}} is checking again",
"email.region_down.body": "Region {{.Region}} has had no active checker for {{.Minutes}} minutes, since {{.Since}}.\n\nMonitors checked only from there are not being checked right now: they neither go down nor alert. Monitors with other regions as well cannot go down while this one reports nothing.\n\nStart a checker of the region or look at its logs:\n{{.Link}}",
"email.region_down.subject": "Region {{.Region}} has no active checker",
"email.resolved.body": "{{.Monitor}} ({{.Target}}) is reachable again after {{.Duration}}.",
"email.resolved.subject": "[UP] {{.Monitor}}",
"email.support_admin.body": "Hello,\n\na support ticket waits for an answer:\n\n{{.Subject}}\n\n{{.Link}}",
@@ -1045,6 +1049,7 @@
"monitors.db_tls_verify": "TLS with verified certificate",
"monitors.db_user": "User",
"monitors.db_user_redis": "User (ACL, optional)",
"monitors.dead_region": "Region {{.Region}} has had no active checker since {{.Since}}.",
"monitors.delete": "Delete monitor",
"monitors.delete_confirm": "Delete this monitor and its history?",
"monitors.dns_expect": "Expected answer (optional)",
@@ -1081,6 +1086,7 @@
"monitors.minecraft_hint": "Target is host:port (Java usually 25565, Bedrock 19132). Pings the server like the in-game server list.",
"monitors.minecraft_java": "Java Edition",
"monitors.new": "New monitor",
"monitors.no_data_since": "no data since {{.Time}}",
"monitors.no_match": "No monitor matches.",
"monitors.no_results": "No results yet.",
"monitors.op_absent": "is absent",
@@ -1167,6 +1173,11 @@
"monitors.type_steam": "Steam game server",
"monitors.type_tcp": "TCP port",
"monitors.type_tls": "TLS certificate",
"monitors.unchecked": "not being checked",
"monitors.unchecked_banner": {
"one": "1 monitor is not being checked: no region has reported for it recently. It neither goes down nor alerts until a checker reports again.",
"other": "{{.Count}} monitors are not being checked: no region has reported for them recently. They neither go down nor alert until a checker reports again."
},
"monitors.ungrouped": "Without group",
"monitors.uptime_chart": "Uptime per period",
"monitors.verify_tls": "Verify TLS certificate",