feat(web): switch charts between 1h, 3h, 12h, 24h and 7d with matching SLA

Bars use a resolution fitting the range and the latency line is placed
by time. The SLA is the share of time a monitor was not down, counted
from incidents and only since the monitor exists. Monitor pages list the
SLA from one hour to 90 days.

Closes #59

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-22 09:29:34 +01:00
1 parent b210c8e5c0
commit 273a958d76
11 files changed
+1419 -810

No files matched your search

+6 -2
View File
@@ -194,18 +194,22 @@
"monitors.edit": "Monitor bearbeiten",
"monitors.expect_status": "Erwarteter Status (z. B. 2xx, 301)",
"monitors.follow_redirects": "Weiterleitungen folgen",
"monitors.history": "Verlauf, letzte {{.Range}}",
"monitors.interval": "Intervall (Sekunden)",
"monitors.interval_hint": "Mindestens {{.Min}} Sekunden.",
"monitors.keyword": "Keyword in der Antwort",
"monitors.keyword_absent": "Fehler, wenn das Keyword vorkommt",
"monitors.last_24h": "letzte 24 Stunden",
"monitors.last_90d": "Letzte 90 Tage",
"monitors.latency_24h": "Latenz, letzte 24 Stunden",
"monitors.latency": "Durchschnittliche Latenz",
"monitors.method": "Methode",
"monitors.new": "Neuer Monitor",
"monitors.range": "Zeitraum",
"monitors.range_note": "SLA und Balken: letzte {{.Range}}",
"monitors.recent": "Letzte Checks",
"monitors.regions": "Regionen",
"monitors.regions_hint": "Geprüft von einem zufälligen Checker jeder gewählten Region. Deine eigenen Regionen stehen oben.",
"monitors.sla": "SLA",
"monitors.sla_table": "SLA nach Zeitraum",
"monitors.target": "Ziel",
"monitors.target_hint": "URL für HTTP, host:port für TCP und TLS, Hostname für DNS und ICMP.",
"monitors.timeout": "Timeout (ms)",