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
7
2
下载
General-purpose web UI for Kubernetes clusters
最近提交(Master分支:7 个月前 )
60975e98 Bumps [@graphql-mesh/runtime](https://github.com/ardatan/graphql-mesh/tree/HEAD/packages/legacy/runtime) from 0.105.10 to 0.105.11. - [Release notes](https://github.com/ardatan/graphql-mesh/releases) - [Changelog](https://github.com/ardatan/graphql-mesh/blob/master/packages/legacy/runtime/CHANGELOG.md) - [Commits](https://github.com/ardatan/graphql-mesh/commits/@graphql-mesh/runtime@0.105.11/packages/legacy/runtime) --- updated-dependencies: - dependency-name: "@graphql-mesh/runtime" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2 个月前
8d93b32e Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 9.1.0 to 9.1.2. - [Release notes](https://github.com/open-cli-tools/concurrently/releases) - [Commits](https://github.com/open-cli-tools/concurrently/compare/v9.1.0...v9.1.2) --- updated-dependencies: - dependency-name: concurrently dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2 个月前
Logo

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

更多推荐