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

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

 

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

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

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

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

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

 

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

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

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

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

 

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

相关文章:

  • 2021-04-20
  • 2022-01-01
  • 2021-06-10
  • 2021-10-07
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-14
  • 2021-11-13
  • 2021-07-08
  • 2022-03-05
  • 2022-12-23
  • 2021-11-23
相关资源
相似解决方案