Skip to content

basalt / fastify/src / healthPlugin

Function: healthPlugin() ​

> healthPlugin(options?): BasaltPlugin<unknown>

Defined in: http/src/health.ts:22

Kubernetes-style probes, framework-neutral (Fastify/Express/Hono):

  • /livez — the process is up; never touches dependencies.
  • /readyz — every check passes, else 503 with a per-check breakdown.

Parameters ​

options? ​

HealthPluginOptions = {}

Returns ​

BasaltPlugin<unknown>

Released under the MIT License.