Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/server / / createExtendedHealthRoutes

Function: createExtendedHealthRoutes()

ts
function createExtendedHealthRoutes(options): Hono<{
  Variables: ServerVariables;
}>;

Defined in: packages/server/src/health/routes.ts:42

Public health route (anonymous; mounted before auth middleware). Returns the rollup + per-check breakdown; HTTP 200 even when the rollup is 'degraded' so liveness probes do not flap on minor degradations. Only 'failing' short-circuits with 503.

Parameters

ParameterType
optionsHealthRouteOptions

Returns

Hono<{ Variables: ServerVariables; }>

Stable