Unable to connect to Command Metric Stream.解决方案
2017-05-07 10:13
621 查看
前言
这个问题发生在学习hystrix dashboard的时候,由于自己的不注意,忽略了文档的部分内容导致了花了很大的精力解决这个问题.解决方案
其实出现这问题的主要原因是我们缺少了spring-boot-starter-actuator在pom中引入
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>
actuator主要用来使/hystrix.stream作为管理端点。
actuator是非常重要的一部分,在很多需要可视化的地方都需要引入此包,如我们的spring boot admin server就需要使用actuator来进行时监控和管理,个人写了部分的demo.有兴趣可以看 https://github.com/eumji025/spring-cloud-repository/tree/edgware
这个分支是基于比较新的版本edgware的,添加了部分新的功能!!!
结语
与君共勉!!!相关文章推荐
- hystrix dashboard Unable to connect to Command Metric Stream解决办法
- Hystrix仪表盘--Unable to connect to Command Metric Stream
- spring-cloud-hystrix之Unable to connect to Command Metric Stream.异常
- spring-cloud-hystrix之Unable to connect to Command Metric Stream.异常
- Unable to connect to Command Metric Stream 出现的几种可能
- unable to send command to the emulator解决方案之一
- ZYNQ-7000 Unable to connect to ps7_cortexa9 解决方案
- 读hdfs上的文件时出现Unable to write to output stream问题的解决方案
- failed to open stream解决办法-关于WIN主机下配置PHP的若干问题解决方案总结
- unable to connect ip driver error code 2 解决方法
- Unable to compile class for JSP解决方案
- Unable to load default SVN client错误解决方案
- 解决mantis邮件报错SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to mail.****.com:25 (ӉӚĿ?껺Ʒ???????ӡ?)
- 关于“cannot find a valid peer process to connect to”错误的解决方案
- java读取Excel 错误: jxl.read.biff.BiffException: Unable to recognize OLE stream
- 解决方案:Unable to retrieve the URL endpoint for Service/Port
- 解决方案:Unable to retrieve the URL endpoint for Service/Port
- Siebel异常:The Siebel Object Manager was unable to establish a network session with the Communications Session Manager.解决方案
- Siebel异常:The Siebel Object Manager was unable to establish a network session with the Communications Session Manager.解决方案
- fedora和Ubuntu中8254 timer not connect to IO-APIC 解决方案