第四章、spring cloud---熔断监控Hystrix+Dashboard+Turbine+security

Hystrix+Dashboard+Turbine+security集成

本文中示例代码的引用版本:
org.springframework.boot 版本 :2.1.0.RELEASE
org.springframework.cloud 版本:Greenwich.M1

示例代码-码云 https://gitee.com/sharps/springcloud

  1. Hystrix-dashboard是一款针对Hystrix进行实时监控的工具,通过Hystrix Dashboard我们可以在直观地看到各Hystrix Command的请求响应时间, 请求成功率等数据。
  2. 但是只使用Hystrix Dashboard的话, 你只能看到单个应用内的服务信息, 这明显不够. 但是只使用Hystrix Dashboard的话, 你只能看到单个应用内的服务信息, 这明显不够. 我们需要一个工具能让我们汇总系统内多个服务的数据并显示到Hystrix Dashboard上, 这个工具就是Turbine.
  3. 最后使用Spring Security保护你的Eureka注册服务中心.

项目节点
04spring-cloud-hystrix-dashboard-turbine
---->0401spring-cloud-eureka 说明:服务注册中心eureka配置(增加Security) 1.spring cloud服务注册中心eureka server—添加Security用户认证(第四章)
---->0402spring-cloud-consumer-hystrix-dashboard 说明:添加Hystrix Dashboard 2.spring cloud服务注册中心eureka server—添加Hystrix Dashboard(第四章)
---->0403spring-cloud-producer 说明:服务提供者,增加Security的pom文件和properties相关引用。
---->0404spring-cloud-consumer-hystrix-node1 说明:服务注册中心消费者-node1满足turbin集成的测试 3.spring cloud服务注册中心eureka server—Hystrix Dashboard的turbine集成(第四章)
---->0405spring-cloud-consumer-hystrix-node2 说明:服务注册中心消费者-node2满足turbin集成的测试 3.spring cloud服务注册中心eureka server—Hystrix Dashboard的turbine集成(第四章)
---->0406spring-cloud-hystrix-dashboard-turbine 说明:hystrix-dashboard-turbine集成展示 3.spring cloud服务注册中心eureka server—Hystrix Dashboard的turbine集成(第四章)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值