Connectum API Reference / @connectum/healthcheck / HealthcheckOptions
Interface: HealthcheckOptions
Defined in: types.ts:27
Healthcheck protocol options
Properties
httpEnabled?
optionalhttpEnabled:boolean
Defined in: types.ts:32
Enable HTTP health endpoints
Default
ts
falsehttpPaths?
optionalhttpPaths:string[]
Defined in: types.ts:38
HTTP health endpoint paths that all respond with health status.
Default
ts
["/healthz", "/health", "/readyz"]manager?
optionalmanager:HealthcheckManager
Defined in: types.ts:51
Custom HealthcheckManager instance. Useful for testing or running multiple servers in one process. When not provided, uses the default module-level singleton.
watchInterval?
optionalwatchInterval:number
Defined in: types.ts:44
Watch interval in milliseconds for streaming health updates
Default
ts
500