使用Hystrix DashBoard监控报错
报错1
Origin parameter: http://localhost:8081/actuator/hystrix.stream is not in the allowed list of proxy host names. If it should be allowed add it to hystrix.dashboard.proxyStreamAllowList.
是因为没有配置代理地址,在application中添加下面配置
hystrix: dashboard: proxy-stream-allow-list: "localhost"
报错2
暴露hystrix.stream端点
management: endpoints: web: exposure: include: hystrix.stream