1.引入依赖

<!-- 引入关于 hystrix Dashboard的依赖 -->
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
            <version>2.0.2.RELEASE</version>
        </dependency>

2.主函数加入注解

@EnableHystrix
@EnableHystrixDashboard

3.配置文件actuator中开启hystrix

management:
  endpoints:
    web:
      exposure:
        include: "*"
  server:
    port: 10114
    servlet:
      context-path: /
    ssl:
      enabled: false
  endpoint:
    health:
      show-details: always
    hystrix:
      stream:
        enabled: true

4.输入http://192.168.9.6:10114/actuator/hystrix.stream 显示

springBoot Feign Hystrix Dashboard

5.输入http://192.168.9.6:8765/hystrix 显示

springBoot Feign Hystrix Dashboard

6.填入http://192.168.9.6:10114/actuator/hystrix.stream 点击 Monitor Stream 显示

springBoot Feign Hystrix Dashboard

 

相关文章:

  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2021-06-01
  • 2022-01-28
  • 2022-02-02
猜你喜欢
  • 2021-10-09
  • 2021-05-14
  • 2021-10-07
  • 2021-10-23
  • 2021-05-31
  • 2021-08-28
相关资源
相似解决方案