Introducing health checks
A health check is a comprehensive review of an application that helps us to understand the current state of the application and use visible indicators to take corrective measures. Health checks are exposed as HTTP endpoints by applications. The health check endpoints are used as health probes for certain orchestrators and load balancers to route traffic away from a failing node. Health checks are used to monitor application dependencies such as databases, external services, and cache services.
In the next section, we will learn about the support for building the health check API in ASP.NET Core 5.