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

时间:2019-02-17 21:29:27   收藏:0   阅读:1947

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

技术分享图片

 

技术分享图片

在 此项目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 插入点)

原文:https://www.cnblogs.com/northeastTycoon/p/10392499.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!