Tell a decommissioned domain apart from a broken one in the uptime history
This commit is contained in:
@@ -203,6 +203,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
'last_change' => $r['last_change'] ?? null,
|
||||
'last_detail' => $r['last_detail'] ?? null,
|
||||
'last_ms' => $r['last_ms'] ?? null,
|
||||
// When this domain was last actually probed. The probe follows NPM's host list, so
|
||||
// a domain removed there simply stops being visited while its record stays here —
|
||||
// and a stored state of "down" then describes the moment it left, not today. The
|
||||
// card needs this to tell "broken" from "no longer served".
|
||||
'last_at' => $r['last_at'] ?? null,
|
||||
// The history card below the table. One aligned series per period rather than the
|
||||
// raw buckets: the client would otherwise have to re-derive calendar keys to know
|
||||
// which of thirty slots a given day belongs in, and there would then be two
|
||||
|
||||
Reference in New Issue
Block a user