小编J.G*_*.GU的帖子

在弹簧启动执行器中设置endpoints.health.sensitive = false时无效

在我的application.yml中:

endpoints:
  restart:
    enabled: true
  shutdown:
    enabled: true
  health:
    sensitive: false
Run Code Online (Sandbox Code Playgroud)

但是当我要求/健康时,我总是得到:

{"status":"UP"}
Run Code Online (Sandbox Code Playgroud)

有什么想法获取更多信息吗?

spring spring-boot actuator

5
推荐指数
2
解决办法
5001
查看次数

标签 统计

actuator ×1

spring ×1

spring-boot ×1