当前位置:网站首页>Consumer turns on health monitoring check

Consumer turns on health monitoring check

2022-04-23 22:10:00 Leon_ Jinhai_ Sun

# 1. Turn on consul Health monitoring
- By default consul Monitoring health is on , But you must rely on the health monitoring dependency to monitor the health status correctly, so direct startup will display errors , After health monitoring dependency is introduced, the service is normal

 

<!--  This bag is used for health monitoring -->
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

版权声明
本文为[Leon_ Jinhai_ Sun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/113/202204232157394556.html