HystrixDashboard 监控页面 Unable to connect to Command Metric Stream.
问题如下
解决方案:
在监控模块的yml中添加
hystrix:
dashboard:
proxy-stream-allow-list: "*"
然后在被监控模块的启动类中添加
@Bean
public ServletRegistrationBean getServlet(){
HystrixMetricsStreamServlet hystrixMetricsStreamServlet = new HystrixMetricsStreamServle
原创
2020-08-10 18:57:28 ·
1386 阅读 ·
4 评论