新增配置
management:
endpoints:
web:
exposure:
include: 'hystrix.stream'
新增依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
</dependency>
启动增加注解
@EnableHystrixDashboard
测试访问
http://localhost:8010/hystrix/
http://localhost:8010/actuator/hystrix.stream
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。