Add uptime tracking

This commit is contained in:
Owen
2026-04-16 18:25:25 -07:00
parent d6c15c8b81
commit c1782a2650
14 changed files with 794 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
"use client";
import UptimeMiniBar from "@app/components/UptimeMiniBar";
import ConfirmDeleteDialog from "@app/components/ConfirmDeleteDialog";
import HealthCheckCredenza, {
HealthCheckRow
@@ -219,6 +221,16 @@ export default function HealthChecksTable({
}
}
},
{
id: "uptime",
friendlyName: "Uptime",
header: () => <span className="p-3">Uptime (30d)</span>,
cell: ({ row }) => {
return (
<UptimeMiniBar targetId={row.original.targetHealthCheckId} days={30} />
);
}
},
{
accessorKey: "hcEnabled",
friendlyName: t("alertingColumnEnabled"),