spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

HystrixMetricsStreamServlet not loaded

Open abderraza8k opened this issue 9 years ago • 1 comments

Hi Spring team

Question

Trying to simply publish the /hystrix.streamendpoint and following the spring boot hystrix documentation I noticed that the servlet isn't instantiated at all. I had to add the following to achieve that

    @Bean
    public ServletRegistrationBean servletRegistrationBean() {
        return new ServletRegistrationBean(new HystrixMetricsStreamServlet(), "/hystrix.stream");
    }

I think that the Actuator project should include a Configuration class for that.

Thanks

abderraza8k avatar Apr 05 '17 19:04 abderraza8k

Actuator doesn't know anything about Hystrix. This is a request for Spring Cloud Netflix: https://github.com/spring-cloud/spring-cloud-netflix

wilkinsona avatar Apr 05 '17 20:04 wilkinsona