http://localhost:8080/actuator/hystrix.stream 404 问题解决!

1.启动类是否加了 

@EnableHystrix 注解

2.包是否引入


    org.springframework.cloud
    spring-cloud-starter-netflix-hystrix


    com.netflix.hystrix
    hystrix-core
    1.5.18



    org.springframework.boot
    spring-boot-starter-actuator

以上完成后依然404问题,很大概率就是yml 配置问题,加上以下配置,启动

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

 

你可能感兴趣的:(springcloud,Hystrix)