October 2018
Intermediate to advanced
556 pages
15h 18m
English
The next vital part of successfully monitoring the application is through operational metrics gathering. Of course, a Spring Boot actuator covers this aspect too and provides monitoring for basic JVM characteristics such as the process uptime, memory usage, CPU usage, and GC pauses. Furthermore, WebFlux provides some statistics regarding the processing of incoming HTTP requests. However, to provide a meaningful insight into what is going on in the service from a business standpoint, we have to extend operational metrics on our own.
Starting with Spring Boot 2.0, an actuator changed an underlying library used for metrics gathering and now uses a micrometer library: https://micrometer.io.
If exposed, the /actuator/metrics ...