New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
My /health route just says OK. It never checks the database.
What you'll have at the end
A /health endpoint that checks the database and cache and names which one is down
You need
A service whose /health route only returns a flat 200, plus an async database connection and a cache client the app already uses for real requests.
Not covered
Wiring your specific deployment platform's own restart and traffic-routing rules to the two endpoints this builds, once they exist.
Leans on
Checked 19 Aug 2026
Part of the Backend Observability and Monitoring cookbook