SpringCloud-Hystrix Dashboard 之 Unable to connect to Command Metric Stream

实践hystrix dashboard仪表盘的时候,不管是按照书上的还是网上的,都提示Unable to connect to Command Metric Stream。

查了好久发现,如果使用springboot2.0 和spring cloud Finchley.M8 版本搭建 使用(/actuator/hystrix.stream  而不是/hystrix.stream 为插入点)

就会出现这个问题

解决方法:

在配置文件中加入

management.endpoints.web.exposure.include=hystrix.stream
management.endpoints.web.base-path=/
原文地址:https://www.cnblogs.com/z-jx/p/10495183.html