首页 > 编程语言 > 详细

actuator springboot健康检查管理

时间:2021-01-27 14:26:19      阅读:31      评论:0      收藏:0      [点我收藏+]

引入相关依赖包

<!--actuator-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>


# 健康检查配置
management:
endpoints:
web:
exposure:
include: "*"
server:
port: 20000
servlet:
context-path: /
ssl:
enabled: false
endpoint:
health:
show-details: always


访问/actuator即可
参考 https://blog.csdn.net/zhouzhiwengang/article/details/111270893

actuator springboot健康检查管理

原文:https://www.cnblogs.com/yxj808/p/14333924.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!