Skip to main content

Interface: DatabaseHealth

Defined in: web/lib/api/generated/types/pub/chive/admin/getSystemHealth.ts:67

Health status of a single database connection

Properties

$type?

optional $type: "pub.chive.admin.getSystemHealth#databaseHealth"

Defined in: web/lib/api/generated/types/pub/chive/admin/getSystemHealth.ts:68


error?

optional error: string

Defined in: web/lib/api/generated/types/pub/chive/admin/getSystemHealth.ts:76

Error message if unhealthy


healthy

healthy: boolean

Defined in: web/lib/api/generated/types/pub/chive/admin/getSystemHealth.ts:72

Whether the database is reachable


latencyMs?

optional latencyMs: number

Defined in: web/lib/api/generated/types/pub/chive/admin/getSystemHealth.ts:74

Connection latency in milliseconds


name

name: string

Defined in: web/lib/api/generated/types/pub/chive/admin/getSystemHealth.ts:70

Database name