About the Health Gauge
The health gauge returns an overall UP or DOWN status for the Microservices Runtime based on the collective status of enabled health indicators. When the health endpoint is invoked, Microservices Runtime executes all of the enabled health indicators. A health indicator determines the UP or DOWN status of a specific component of Microservices Runtime. If all of the health indicators return an UP status, the entire Microservices Runtime is considered to be up. The health gauge returns a HTTP 200 status code to the requester. If even one of the health indicators returns a DOWN status, the entire Microservices Runtime is considered to be down. The health gauge returns a HTTP 503 status code to the requester.
Regardless of the overall status, the response includes a payload in JSON format that contains more details for each health indicator, including whether the indicator returned a status of UP or DOWN. By default, the response follows the ASCII order. For example, the ServiceThread health indicator returns the current number of service threads in use, the current number of available threads, and the maximum number of available threads.