springcloud 中使用 hystrix-dashboard 进行监控的时候启动报错”path”:”/actuator/hystrix.stream”,”status”:404,”error”:”Not Found”

这是因为springboot2.x使用了endpoint

解决办法是在被监控的微服务的bootstrap.yml文件中加入如下配置

management:
  endpoints:
    web:
      exposure:
        include: ["hystrix-stream"]

这样就可以了,但是actuator/health就无法访问了,所以还可以选择全部放开。

management:
  endpoints:
    web:
      exposure:
        include: '*'

关注

如果有问题,请在下方评论,或者加群讨论 200909980

关注下方微信公众号,可以及时获取到各种技术的干货哦,如果你有想推荐的帖子,也可以联系我们的。

这里写图片描述

GitHub 加速计划 / da / dashboard
8
2
下载
General-purpose web UI for Kubernetes clusters
最近提交(Master分支:18 天前 )
2f3f7b01 * feat(pod): add GPU resource allocation support and refactor request/limit functions * test(pod): add GPU allocation resource validation in unit tests 2 天前
1d1d9f43 * Add argument to Dashboard API to allow for a custom CA bundle * add tls bundle to auth * fix CA file usage with custom bundle path * override client config to after config exiss * fix whitespace * Review arguments documentation 8 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐