Register Custom Health Indicators In Spring Boot Application
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMfA8m8-fN5tS8o4vxaBG6dmPLjaxk1etDcjJLiB9hmIkm3KdoWD0CdjKTWVwBeBnV3zFMakc2Q23mDV3xtNTcxxqKQHoBYaMDMA2h0EL-HaC-XBP8SaCkA2RGushNYu00iixiKAwX16nPO_r7I45FziAe27PEIo7u5zTfnBTLwlCzHozeXVno-OHKWw/w640-h222/Untitled%20Diagram.drawio%20(1).png)
Hello everyone, Hope you are doing well. In this post, we will learn how to register custom health indicators in the Spring Boot application via Spring Actuator. A little bit of Background Spring Boot Actuator Spring Boot Actuator is a sub-project of Spring Boot. It adds several production-grade services to your application with little effort on your part. It is used to expose operational information about the running application — health, metrics, info, dump, env, etc. More Info - https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/production-ready.html HealthIndicator The Health indicator strategy interface. It is used to contribute Health to the results returned from the HealthEndpoint. More Info - https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/actuate/health/HealthIndicator.html AbstractHealthIndicator Base HealthIndicator implementations that encapsulate the creation of Health instance and error handling. This implementation is only suitabl