feat(monitors): Monitors absorbs the Status page; Status is removed (#5270)
Status repeated the Monitors page's counts, check strip and uptime. Monitors now has one header row and every column Status had: the last 30 checks, latest response with its trend, uptime over 24h / 7d / 30d (the range picker goes) and TLS days on every row. /status and /status/rows and the nav link are removed outright; the dashboard Overview (/status/widget) stays and its Details link goes to Monitors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,6 @@ class StatusEntry:
|
||||
heartbeat: list[dict] = field(default_factory=list) # oldest-first {state,title}
|
||||
latency_ms: float | None = None
|
||||
spark: list[float] = field(default_factory=list) # response series
|
||||
spark_svg: str = "" # filled by the route via sparkline_svg()
|
||||
tls_days: float | None = None # days until TLS expiry (http only)
|
||||
detail_url: str | None = None
|
||||
# When the current up/down state began, as far as the recent checks show;
|
||||
|
||||
@@ -65,7 +65,7 @@ WIDGET_REGISTRY: dict[str, dict] = {
|
||||
"label": "Overview",
|
||||
"description": "What needs attention across Steward: hosts, monitors and firing alerts, problems listed with since-times",
|
||||
"hx_url": "/status/widget",
|
||||
"detail_url": "/status/",
|
||||
"detail_url": "/monitors/",
|
||||
"plugin": None,
|
||||
"poll": True,
|
||||
"params": [],
|
||||
|
||||
Reference in New Issue
Block a user