spring cloud: Hystrix(三):健康指数 health Indicator

spring cloud: Hystrix(三):健康指数 health Indicator

ribbon+hystrix

当使用Hystrix时(spring-cloud-starter-hystrix),项目是可以通过,/health.stream查看相关项目的健康指数的。

这里的/health.stream 访问(路径)地址,所展示的其实是Hystrix的监控内容.

/health.stream是需要以下插件支持的:

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

  

猜你喜欢

转载自www.cnblogs.com/achengmu/p/9839681.html