Origin parameter: http://localhost:8001/hystrix.stream is not in the allowed list of proxy host name

搞了半天监控不到hystrix,原来是application.yml中的配置有问题

在application.yml中加入以下程序

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

如果还是不行,将application.yml中的代码进行如下修改

management:
  endpoints:
    web:
      exposure:
        include: hystrix.stream

改为

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

ok,问题解决


版权声明:本文为qq_42301399原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。