Getting started
Add the following to POM.XML
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator-docs</artifactId>
</dependency>
Add the following to application.properties
management.context-path=/actuator
management.security.enabled=false
management.endpoints.web.exposure.include=* (the last thing is an asterisk, a star)
Invoking the Actuator using Postman
-
Open a REST client (Postman)
-
Open url http://localhost:<port>/actuator/