6.监控面板
来源:互联网 发布:为知笔记注销不能用 编辑:程序博客网 时间:2024/06/01 10:09
hystrix面板
一、项目添加依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
二、在启动类中添加Hystrix Dashboard支持
- @EnableHystrix
- @EnableHystrixDashboard
三.输入网址
http://localhost:4001/hystrix
hystrix-turbine集群
一、项目添加依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-turbine</artifactId> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
</dependency>
applacation
@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy
public class GatewayApplication {
public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}
}
properties
#从配置中心获取配置
spring.application.name=zuul
spring.cloud.config.discovery.enabled=true
spring.cloud.config.discovery.service-id=config-server
spring.cloud.config.failFast=true
#注册为服务
eureka.client.serviceUrl.defaultZone=http://localhost:1001/eureka/
二、在启动类中添加Hystrix Dashboard支持
@EnableTurbine
三.输入网址
http://localhost:4001/hystrix
阅读全文
0 0
- 6.监控面板
- 监控面板
- Unity3D 监控面板显示数据(Inspector)
- Atitit.Gui控件and面板----web server区----- web服务器监控面板and控制台条目
- Linux监控面板linux-dash的安装过程
- Spring Cloud构建微服务架构:Hystrix监控面板
- Spring Cloud构建微服务架构Hystrix监控面板
- Spring Cloud构建微服务架构Hystrix监控面板
- 面板
- Unity_杂项_访问修饰符在Unity监控面板的表现_050
- Spring Cloud构建微服务架构:Hystrix监控面板【Dalston版】
- 监控
- 《监控》
- 监控
- 监控
- 监控
- 监控
- 监控
- centos7最小化安装手册
- WordPress发送邮件提示“您的主机禁用了Mail函数”解决方法
- ELK hadoop hbase
- linux matplotlib 库的运用
- 读书笔记_算法第四版(二)
- 6.监控面板
- hadoop自定义排序,分组排序
- JSP中下载文件
- 推荐算法
- Android Binder机制浅析(二)
- linux 下matplotlib 运用二
- Linux下查看文件内容的命令
- adb 抓取ANR日志
- MVC中使用aspx当作视图需要注意的问题