August 2018
Intermediate to advanced
372 pages
9h 29m
English
We mentioned earlier that monitoring is quite important to understanding how an application performs in the wild. Fortunately, Spring has actuator, which is a library that can be easily attached to an existing Spring Boot application by adding the following dependency:
compile("org.springframework.boot:spring-boot-starter-actuator")
Spring Boot Actuator provides a bunch of endpoints that are ready to be consumed and provide useful information about the application. Let's review some of them in the following table:
|
Endpoint |
Brief Description |
| /health |
This provides brief information about the application status and its main dependencies, such as databases or messaging systems. |
| /autoconfig |
This provides information ... |
Read now
Unlock full access