Я добавил jar привода Spring Boot в существующее приложение Spring Boot
org.springframework.boot
spring-boot-starter-actuator
Я вижу список URL-адресов исполнительных механизмов, но опция дампа памяти отсутствует
{"_links":
{
"self":{"href":"http://localhost:8080/actuator","templated":false},
"health":{"href":"http://localhost:8080/actuator/health", ... ted":false},
"health-path":{"href":"http://localhost:8080/actuator/health/{ ... ated":true},
"info":{"href":"http://localhost:8080/actuator/info","templated":false}
}
}
ОБНОВЛЕНИЕ
Я также включил строки ниже в application.properties
management.endpoints.web.exposure.include=*
Подробнее здесь: https://stackoverflow.com/questions/728 ... ump-option