actuator/hystrix.stream 没有反应的方法

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

 

在启动类加上,就ok了

   @Bean
    public ServletRegistrationBean hystrixMetricsStreamServlet() {
        ServletRegistrationBean registration = new ServletRegistrationBean(new HystrixMetricsStreamServlet());
        registration.addUrlMappings("/actuator/hystrix.stream");
        return registration;
    }

 

转载于:https://www.cnblogs.com/dzhou/p/10517258.html

你可能感兴趣的:(actuator/hystrix.stream 没有反应的方法)