healthcheck — Optimization
Reserve liveness for the process
Section titled “Reserve liveness for the process”Keep database, cache and remote HTTP checks in readiness when dependency outages should stop traffic without restarting the process.
Protect diagnostics
Section titled “Protect diagnostics”Expose a minimal public probe. Restrict detailed reports and metrics to authorized callers.
Bound probe execution
Section titled “Bound probe execution”The manager defaults to a 1,000 ms timeout per check and eight concurrent checks. Tune these limits for the dependencies being probed.
Profiles do not filter output
Section titled “Profiles do not filter output”Profiles are hints for checks and collectors, not report filters. Use toHealthJson() or stringifyHealthJson() to control response details.