断路器Dashboard监控仪表盘的使用

在原有的orderserverfeignhystrix服务中使用

1、增加依赖仓库

             <dependency>

<groupId>org.springframework.cloud</groupId>

<artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>

</dependency>

 

<dependency>

<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-starter-actuator</artifactId>

</dependency>

2、启动类增加注解

    @EnableHystrixDashboard

3、配置文件增加配置

management:

endpoints:

web:

exposure:

include: "*"

4、访问链接

4、访问入口

    http://localhost:8651/hystrix

 

    Hystrix Dashboard输入: http://localhost:8651/actuator/hystrix.stream

最新文章

  1. Combination Sum
  2. jquery中$.ajax方法提交表单
  3. 使用Bootstrap v3.3.4注意细节box-sizing
  4. light oj 1236 分解质因数
  5. matplotlib绘制直方图【柱状图】
  6. git设置hooks 钩子
  7. Linux网络管理
  8. 【wikioi】1033 蚯蚓的游戏问题(费用流)
  9. 解决JVM最大内存设置问题
  10. 【转】不需要 Root,也能用上强大的 Xposed 框架:VirtualXposed
  11. SpringBoot 通过 Exploded Archives 的方式部署
  12. SpringBoot之get请求404
  13. java数组元素的复制
  14. @Scheduled 定时
  15. JProfiler 入门教程
  16. [logic]逻辑整理
  17. Windwos下Tomcat的安装与配置
  18. ubuntu HackRF One相关环境搭建
  19. Rails-Treasure chest1 (自定义Model网址;多语言包; 时区设置, TimeZone类; 格式日期时间; 表单单选UI; 表单多选UI;Select2 Plugin)
  20. 话说文件系统——VFS简介(二)

热门文章

  1. getLocation需要在app.json中声明permission字段,解决办法
  2. bzoj2406 矩阵
  3. Comet OJ - Contest #6 B.双倍快乐(二维最大上升子序列和)
  4. 网络中的tarpit/tar pit
  5. vue开发环境、正式环境的配置及原理
  6. Javescript——变量声明的区别
  7. Qt学习过程
  8. LeetCode_169. Majority Element
  9. (转)Flink简介
  10. pycharm连接linux创建django工程