spring boot actuator健康检查

引入依赖

<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中查看

打开后结构

posted @ 2020-08-17 18:09  岁月染过的梦  阅读(740)  评论(0)    收藏  举报