Java: exposing a custom Actuator endpoint with Spring Boot
If you have enabled Actuator in your Spring Boot application, then in addition to the standard endpoints for health and metrics, you can also add your own endpoint to expose custom metrics. In its simplest form, this is done by adding a @Component and @Endpoint annotation to a custom class that returns the metrics, and … Java: exposing a custom Actuator endpoint with Spring Boot