Service status
Live liveness and database readiness checks.
{#if status.loading && status.level === 'checking'}
{:else if status.level === 'healthy'}
{:else if status.level === 'degraded'}
{:else if status.level === 'offline'}
{:else}
{/if}
{levelLabel[status.level]}
{#if status.checkedAt}
{new Date(status.checkedAt).toLocaleTimeString()}
{/if}
{#each [{ label: 'Liveness', probe: status.health }, { label: 'Readiness / database', probe: status.readiness }] as item (item.label)}
{item.label}
{probeLabel(item.probe)}
{/each}
{#if status.health?.service || status.readiness?.service}
Service: {status.health?.service || status.readiness?.service}
{/if}