Emitting metrics
The previous recipe has provided us with an overview of the capabilities provided by Spring Boot Actuators. We played with the different management endpoints such as /info
, /health
, and so on and even created our own health metrics to add to the default set. However, besides the health status there are a number of things that we, as developers and operations folks, want to be able to see and monitor on an ongoing basis, and just knowing that the uplink is functional is not good enough. We also would like to see the number of open sessions, concurrent requests to the application, latency, and so on and so forth. In this recipe, we will learn about the metric reporting facilities in Spring Boot as well as how to add our own metrics ...
Get Spring Boot Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.