springboot 2.x版本 hystrix-dashboard 报错
在使用springboot 2.1.1和springcloud的服务监控hystrixDashboard的时候,http://localhost:9001/actuator/hystrix.stream 一直报错404, 查看官方文档的时候,发现springboot2.x使用了endpoint,需要在被监控的微服务里面添加bootstrap.yml配置,内容如下
management:
...
原创
2019-02-16 10:41:16 ·
2282 阅读 ·
0 评论