Actuator
Explore how to use Spring Boot Actuator to monitor and manage your application through various endpoints such as health checks, metrics, and bean information. Understand how to enable, configure, and secure Actuator features to gain valuable runtime insights that help maintain application performance and reliability.
Actuator
Spring Boot Actuator is a feature that provides monitoring features for the application during development and after deployment. It provides metadata about the application like the beans configured, how autoconfiguration has worked, how many times a specific service is called, how many times a specific service has failed, etc.
Actuator dependency
The Actuator module can be enabled while creating a Spring Boot application by adding the Actuator dependency from the Ops section. For an application that is already running, spring-boot-starter-actuator can be added to the pom.xml file as follows:
HAL browser dependency
The Actuator exposes a lot of REST services that are compliant with the
Since we have enabled the HAL browser, if we type
localhost:8080, we will be taken to the HAL browser that we can use to browse through the Actuator by typing/actuator...