是否有禁用hystrix指示器的想法?

问题描述 投票:0回答:1

检查/运行状况端点,我想从响应中禁用hystrix。

{
  "status": "UP",
  "details": {
    "hystrix": {
      "status": "UP"
    }
  }
}

选中HystrixHealthIndicator,无法禁用它。这里有解决方案吗?

java spring-cloud hystrix
1个回答
0
投票
management.health.defaults.enabled=false

该配置在production-ready-endpoints中有详细记录。

我稍后会更新以仅删除hystrix。

© www.soinside.com 2019 - 2024. All rights reserved.