引入依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
测试
http://localhost:8080/actuator/health
配置
management.endpoints.web.exposure.include=*
检查beans
http://localhost:8080/actuator/beans
在sts中查看
打开后结构
原文:https://www.cnblogs.com/syrgdm/p/13519107.html