Health Check
Service health check with status, individual checks, and duration.
infrastructure
Install
$ npx shadcn@latest add @open-types/health-check
Source
export type HealthCheckStatus = "healthy" | "unhealthy" | "starting" | "none";
export interface HealthCheckEntry {
name: string;
status: HealthCheckStatus;
duration_ms?: number;
output?: string;
}
export interface HealthCheckResult {
status: HealthCheckStatus;
checks?: HealthCheckEntry[];
timestamp?: string;
}
export type HealthCheckStatus = "healthy" | "unhealthy" | "starting" | "none";
export interface HealthCheckEntry {
name: string;
status: HealthCheckStatus;
duration_ms?: number;
output?: string;
}
export interface HealthCheckResult {
status: HealthCheckStatus;
checks?: HealthCheckEntry[];
timestamp?: string;
}