Health Check

An endpoint or process that verifies whether a service or its dependencies are functioning correctly.

A health check is a mechanism for verifying that a service is running correctly and able to serve requests. Most commonly, it is implemented as a dedicated HTTP endpoint (e.g., /health or /healthz) that returns a status code indicating whether the service and its critical dependencies are healthy.

Health checks come in two varieties: shallow (liveness) checks that simply confirm the process is running and can respond to HTTP requests, and deep (readiness) checks that verify connectivity to databases, caches, message queues, and other dependencies the service needs to function properly.

Health checks are used by load balancers to route traffic away from unhealthy instances, by container orchestrators like Kubernetes to restart failing pods, and by monitoring services like Hyperping to detect when a service becomes unavailable. Implementing robust health checks is one of the simplest and most impactful reliability improvements a team can make.

Hyperping monitoring dashboard

Related Terms

Uptime
The percentage of time a system or service is operational and accessible to users.
Synthetic Monitoring
Proactive monitoring that simulates user interactions to test service availability and performance f...
API Monitoring
The practice of monitoring API endpoints for availability, performance, correctness, and compliance ...
HTTP Status Code
A three-digit code returned by a web server indicating the result of the client's request.

Related Resources

Get started

Start monitoring in the next 5 minutes.

Stop letting customers discover your outages first. Set up monitoring, status pages, on-call, and alerts before your next coffee break.

14 days free trial — No card required