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

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

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

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

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

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

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

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

猜你喜欢

转载自www.cnblogs.com/northeastTycoon/p/10392499.html
今日推荐