platformpackages/platform/health
health package
Liveness + readiness probes for every backend service. Aggregates downstream deps (db, queue, search) into one /healthz response.
- Stability
- Stable
- Scope
- Global
- Boundary
- packages/platform/health
healthpackages/platform/health
Foundational layer
Runtime stack5 layers
- edge
- gateway
- services
- platformyou are here
- storage
Uptime
99.50%
Resolved confighealth.config
Uptime
99.50%
+0.03%
p99 latency
25 ms
-4%
Active connections
3,897
Active tenants
161
+6%
packages/platform/healthplatform · Lowest shared layer · zero-app coupling
Usagehealth.ts
typescripthealth.ts
1import { healthCheck } from "@nebutra/health";
2
3export const GET = healthCheck({
4 checks: {
5 db: () => prisma.$queryRaw`SELECT 1`,
6 redis: () => redis.ping(),
7 queue: () => queue.ping(),
8 },
9});