HealthCheckRegistry
Defined in: src/management/HealthCheck.ts:15
Thin registry for liveness / readiness style checks. Components (persistence journal, sharding coordinator, …) register their own checks; the management endpoints aggregate them and surface the overall status.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HealthCheckRegistry():
HealthCheckRegistry
Returns
Section titled “Returns”HealthCheckRegistry
Methods
Section titled “Methods”addLiveness()
Section titled “addLiveness()”addLiveness(
fn): () =>void
Defined in: src/management/HealthCheck.ts:19
Parameters
Section titled “Parameters”Returns
Section titled “Returns”() => void
addReadiness()
Section titled “addReadiness()”addReadiness(
fn): () =>void
Defined in: src/management/HealthCheck.ts:27
Parameters
Section titled “Parameters”Returns
Section titled “Returns”() => void
checkLiveness()
Section titled “checkLiveness()”checkLiveness():
Promise<HealthCheckResult[]>
Defined in: src/management/HealthCheck.ts:35
Returns
Section titled “Returns”Promise<HealthCheckResult[]>
checkReadiness()
Section titled “checkReadiness()”checkReadiness():
Promise<HealthCheckResult[]>
Defined in: src/management/HealthCheck.ts:42
Returns
Section titled “Returns”Promise<HealthCheckResult[]>