October 2018
Intermediate to advanced
556 pages
15h 18m
English
Adding a Spring Boot actuator is as simple as adding the next dependency to the project. Consider the following dependency in the Gradle-built file:
compile('org.springframework.boot:spring-boot-starter-actuator')
Here, we rely on the fact that the actual version of the library and all its dependencies are specified in the Spring Boot Bill of Materials (BOM).
A Spring Boot actuator was initially introduced with Spring Boot Version 1.x, but with Spring Boot 2.x it has been improved a lot. At the moment, an actuator is technologically agnostic and supports both Spring Web MVC and Spring WebFlux. It also shares the security model with the rest of the application, so it could easily be used in a reactive application ...