Actuator

Learn about Spring Boot Actuator and the different monitoring metrics that it provides.

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.

Press + to interact
Spring Boot Actuator
Spring Boot Actuator

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:

Press + to interact
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

HAL browser dependency

The Actuator exposes a lot of REST services that are compliant with the HALHAL standard. We will use a HAL browser to view the data provided by the ...

Access this course and 1400+ top-rated courses and projects.