6
votes

I would like to add Spring Boot actuator metrics to my existing Spring MVC 5 application (I cannot convert to Spring Boot). There are a couple of answered questions on SO (Spring Boot Actuator without Spring Boot) but they are for using Spring Boot Actuator 1.x. Spring Boot Actuator 2.x has been re-architected and so these instructions are no longer valid. Has anyone integrated Spring Boot Actuator 2.x with a standard Spring MVC 5 app?

1
check similar question here Hope it helps - codereal
If you look at my post you will see that I already referenced that link and said that it is only for Spring Boot Actuator 1.x - Piers Geyman
@PiersGeyman I also want to use "Spring Boot 2 Actuator" module without Spring Boot, any workarounds which worked for you? Thanks - nikhil

1 Answers

-1
votes

Unfortunately you cannot include Spring Boot Actuator without requiring Spring Boot. Spring Boot is a Maven dependency of the Spring Boot Actuator project (the name also suggests that spring boot is required).

You can check out the actual dependency of spring-boot in the pom of spring-boot-actuator.