--- import DefaultLayout from '@shared/layouts/DefaultLayout.astro' import Chart from '@components/demo/Chart.astro' import Card from '@ui/Card.astro' import CardBody from '@ui/CardBody.astro' import CardHeader from '@ui/CardHeader.astro' import CardTitle from '@ui/CardTitle.astro' import StatusDot from '@ui/StatusDot.astro' import StatCard from '@components/cards/StatCard.astro' import SystemStatus from '@components/cards/SystemStatus.astro' const incidents = [ { color: 'red', title: 'Email delivery outage', date: 'Aug 24, 2026', duration: '42 minutes', resolved: true }, { color: 'yellow', title: 'Slow webhook deliveries', date: 'Aug 12, 2026', duration: '1 hour 8 minutes', resolved: true }, { color: 'yellow', title: 'Dashboard loading slowly', date: 'Aug 3, 2026', duration: '17 minutes', resolved: true }, { color: 'red', title: 'Email delivery outage', date: 'Jul 21, 2026', duration: '2 hours 5 minutes', resolved: true }, ] const periods = [ { period: 'Today', availability: '100%', downtime: 'none', incidents: 0, longest: '–', average: '–' }, { period: 'Last 7 days', availability: '100%', downtime: 'none', incidents: 0, longest: '–', average: '–' }, { period: 'Last 30 days', availability: '99.9028%', downtime: '42 minutes', incidents: 1, longest: '42 minutes', average: '42 minutes' }, { period: 'Last 365 days', availability: '99.9414%', downtime: '5 hours 8 minutes', incidents: 9, longest: '2 hours 5 minutes', average: '34 minutes' }, { period: 'All time', availability: '99.9533%', downtime: '11 hours 40 minutes', incidents: 23, longest: '2 hours 5 minutes', average: '30 minutes' }, ] ---
Recent incidents
{ incidents.map((incident) => (
{incident.title}
{incident.date} · {incident.duration}
Resolved
)) }
Response time in the last 4 months (ms)
Incidents per day
Availability
{ periods.map((row) => ( )) }
Time period Availability Downtime Incidents Longest incident Avg. incident
{row.period} {row.availability} {row.downtime} {row.incidents} {row.longest} {row.average}