搜索了好多资料,最后查看了官网。但是还是解决了。和大家分享下喜悦心情

springboot1.4下hystrix dashboard Unable to connect to Command Metric Stream解决办法-LMLPHP

springboot1.4下hystrix dashboard Unable to connect to Command Metric Stream解决办法-LMLPHP

在 此项目properties中添加如下信息

springboot1.4下hystrix dashboard Unable to connect to Command Metric Stream解决办法-LMLPHP

修改完信息后再浏览器输入:http://localhost:9875/hystrix ,dashboard输入框中输入 http://localhost:9875/hystrix.stream 点击 monitor stream发现ok了

springboot1.4下hystrix dashboard Unable to connect to Command Metric Stream解决办法-LMLPHP

点击后为发现未成功,于是又搜索资料,

在浏览器输入:localhost:9874/hi?name=norhteasttycoon后回车

然后在返回(浏览器返回键) dashboard这一页:成功了

springboot1.4下hystrix dashboard Unable to connect to Command Metric Stream解决办法-LMLPHP

结论:springboot2.0 以下版本使用(/actuator/hystrix.stream  而不是/hystrix.stream 插入点)

05-11 20:42