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