A health status categorizes whether an application or an external system is available and operational. Spring Boot Actuator exposes the application’s aggregate status through the health endpoint. section 15.2.1
Health indicators report the condition of systems the application depends on:
- UP means the system is available and reachable. section 15.2.1
- DOWN means the system is unavailable or unreachable. section 15.2.1
- OUT_OF_SERVICE means the system is reachable but currently unavailable; UNKNOWN means its condition is unclear. section 15.2.1
- The aggregate is UP when every indicator is UP, DOWN when any indicator is DOWN, and OUT_OF_SERVICE when any indicator has that status; UNKNOWN indicators are ignored. section 15.2.1
$ curl localhost:8080/actuator/health
{"status":"UP"}
Querying the Actuator health endpoint returns a compact JSON status such as {"status":"UP"}. Configure health details to inspect indicator results and diagnostic information. section 15.2.1
