Shipping ItLesson 25 of 74

Module 3 · Knowing what it is doing

The health check that lies

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 6 of 9 in this chapter

This chapter’s goalAnswer “is it broken, for whom, and since when” in under five minutes using data you are already collecting.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

The check that proves nothing

JavaScript
app.get("/health", (req, res) => res.json({ ok: true }));

This tells you that the process is running and the HTTP layer works. It will return 200 while the database is unreachable, the disk is full, the cache is down and every real request is failing.

It is not useless (a load balancer needs something cheap to poll) but it must not be the thing you trust when someone asks whether the site is up.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Agents and Automation exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘The health check that lies’, in Shipping It. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/cloud-and-shipping/health-checks-that-tell-the-truth (Accessed: 29 November 2026).