【发布时间】:2020-01-25 04:56:37
【问题描述】:
检查 /health 端点,我想从下面的响应中禁用 hystrix。
{
"status": "UP",
"details": {
"hystrix": {
"status": "UP"
}
}
}
检查HystrixHealthIndicator,没有办法禁用它。 这里有什么解决办法吗?
【问题讨论】:
-
看起来我必须创建一个 pr 才能使其工作,在 HystrixHealthIndicator 上添加 ConditionalOnProperty。
-
不需要。它遵循使用键“hystrix”禁用健康指标的正常启动约定
标签: java spring-cloud hystrix