maxdraco

Health check (readiness check)

An automatic test that asks a running service whether it is working, so a broken one can be restarted or taken out of use.

Concept Logging and monitoring

A health check is a small automatic test that a monitoring system runs against a service again and again, such as asking it to answer a web request. A readiness check asks whether the service is ready to take work; a liveness check asks whether it is still running at all. Kubernetes, for example, stops sending work to a copy that fails its readiness check and restarts one that fails its liveness check. A health check is only as good as what it tests: one that only checks that the service answers can stay green while the service does nothing useful.

See also

  • High availability (HA) Designing a system so it keeps working when one of its parts fails.
  • Timeout A limit on how long a program waits for something before it gives up.
  • Metrics Numbers a system records over time, such as request counts or temperature, used to watch its health.
  • Data retention How long stored data, such as logs, is kept before it is deleted.
  • Exporter (metrics exporter) A small program that gathers numbers from a system and publishes them for monitoring to collect.
  • False positive An alarm or match that fires when nothing is actually wrong.
  • Grafana Open-source dashboard tool for graphing, exploring and alerting on metrics and logs.
  • Grafana Alloy Grafana Labs' collector that gathers logs, metrics and traces and sends them to storage like Loki.

Sources

  1. Liveness, Readiness, and Startup ProbesKubernetesofficial healthy, checked 2026-11-15 archived copy
  2. Configure Liveness, Readiness and Startup ProbesKubernetes healthy, checked 2026-11-15 archived copy