In my Spring Boot App (2.0.0.M7) application.properties I set
management.endpoint.metrics.enabled=true
However, when i hit
Had the same issue upgrading from Spring Boot 1.5.15 to 2.1.4
Needed to modify the original dependency for the Spring Boot actuator in my pom.xml
from:
org.springframework.boot
spring-boot-actuator
to:
org.springframework.boot
spring-boot-starter-actuator
notice the addition of the word starter
in the artifactId
.