springcloud2+hystrix dashboard 的一个小坑

异常信息:Unable to connect to Command Metric Stream

1、正常搭建好hystric dashboard,访问http://ip:port/hystrix会弹出如下页面

2、根据上图的红色方框内的提示,填写http://localhost:8083/hystrix.stream后点确认

出现Unable to connect to Command Metric Stream的异常信息,不能正常显示熔断信息。

3、原因是第1步填写的http://localhost:8083/hystrix.stream不对,观察控制台启动的打印日志

更换hystrix.stream的地址为:http://localhost:8083/actuator/hystrix.stream,从新点确认后,问题解决。

posted @ 2018-10-17 14:58  eleven_毛毛  阅读(1092)  评论(0编辑  收藏  举报