Hystrix Dashboard可视化监控配置
1.创建单独的Hystrix Dashboard模块,添加依赖
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> </dependency>
2.在启动类增加@EnableHystrixDashboard
3.在application.yml文件中增加端口
4.启动成功,访问http://localhost:8030/hystrix