配置文件开启心跳检查后,需要在模块中引入以下依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
actuator是监控系统健康情况的工具,具体介绍:
spring-boot-starter-actuator与应用监控