Unable to get /hystrix.stream in Spring Cloud

扶醉桌前 提交于 2019-12-04 07:54:43

In Spring Boot 1.5.x Hystrix.stream will only show data if there are actually call's being executed that are annotated with @HystrixCommand

If you annotate a method it will publish data to the stream when its being used.

More info: http://cloud.spring.io/spring-cloud-static/Brixton.SR6/#_circuit_breaker_hystrix_clients

For those who are using spring boot 2 (I am using 2.0.2.RELEASE), the hystrix.stream endpoint has been moved to /actuator/hystrix.stream.

For me this url worked:

http://localhost:8082/actuator/hystrix.stream

And yes, have this actuator endpoint enabled via following property:

management.endpoints.web.exposure.include=hystrix.stream
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!