Health checks
Use the platform() plugin for the standard operational surface shared by the Go and TypeScript frameworks.
import { application, http, platform } from '@putnami/application';
const app = application()
.use(http({ port: 3000 }))
.use(platform());
await app.start();The plugin exposes /livez, /healthz, /readyz, and /version. It auto-discovers HealthChecker and ReadinessChecker implementations from the module tree and accepts explicit or dependency-injected probes.
Configure deployment liveness against /livez and readiness against /readyz. Use /healthz for aggregate diagnostic health. Set prefix: '/_' when operational endpoints must be namespaced.
See Platform endpoints for endpoint envelopes, probe authoring, timeouts, and cross-language conformance.