Showing posts with the label Actuator

Register Custom Health Indicators In Spring Boot Application

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 - HealthIndicator The Health indicator strategy interface. It is used to contribute Health to the results returned from the HealthEndpoint. More Info - AbstractHealthIndicator Base HealthIndicator implementations that encapsulate the creation of Health instance and error handling. This implementation is only suitabl