Unable to connect to Command Metric Stream. in Hystrix Dashboard issue

后端 未结 3 707
我在风中等你
我在风中等你 2020-12-04 00:29

Before posting this question, I went through numerous links like : Unable to connect to Command Metric Stream for Hystrix Dashboard with Spring Cloud and Unable to connect t

相关标签:
3条回答
  • 2020-12-04 01:01

    try adding the below line in Hystrix Dashboard project it worked for me.

    application.yml

    hystrix:
      dashboard:
        proxy-stream-allow-list: "*"
    
    0 讨论(0)
  • 2020-12-04 01:12

    I just added below in application.properties file and it started working:

    management.endpoint.hystrix.stream.enabled=true
    
    0 讨论(0)
  • 2020-12-04 01:17

    in dashboard project add this to your properties

    hystrix:
      dashboard:
        proxy-stream-allow-list: "*"
    

    and, in weather-app add this

    management:
      endpoints:
        web:
          exposure:
            include: "*"
    

    then, open http://localhost:8080/hystrix and add http://localhost:8000/actuator/hystrix.stream

    https://github.com/adetiamarhadi/spring-cloud-hystrix-dashboard.git https://github.com/adetiamarhadi/spring-cloud-hystrix-weather-app.git

    0 讨论(0)
提交回复
热议问题