Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.otto.edison.hystrix.configuration;
 
 import  org.springframework.context.annotation.Bean;
 import  org.springframework.context.annotation.Configuration;

Registers HystrixMetricsStreamServlet

Author(s):
Guido Steinacker
Since:
15.04.15
@Configuration
public class HystrixConfiguration {
    @Bean
        return new ServletRegistrationBean(new HystrixMetricsStreamServlet(),"/internal/hystrix.stream");
    }
New to GrepCode? Check out our FAQ X