What are actuators : Actuators are features or endpoints which helps us to monitor the spring boot application.
Configure Actuator in Spring boot :
Step 1 : Add the below entry to pom.xml
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>
Step 2 : Update the Project
Step 3 : Restart Spring boot application and you are set
Step 4 : Test the actuator
Comments
Post a Comment