Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.
23.98k
stars
4.7k
forks
source link
Facing issue "Unable to connect to Command Metric Stream." in spring version 2.3.3. I have two services and two client balanced services consuming these other two services. A separate service for visualizing the Eureka Dashboard with below properties. But still same error #2003
Facing same issue in spring version 2.3.3. I have two services and two client balanced services consuming these other two services. A separate service for visualizing the Eureka Dashboard with below properties. But still same error
main class annotated @EnableHystrixDashboard#
Configuration class added as suggested in the above discussions
import com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class HystrixServletDefinitions {
@Bean(name = "hystrixRegistrationBean")
public ServletRegistrationBean servletRegistrationBean() {
ServletRegistrationBean registration = new ServletRegistrationBean(
new HystrixMetricsStreamServlet(), "/hystrix.stream");
registration.setName("hystrixServlet");
registration.setLoadOnStartup(1);
return registration;
}
}
Facing same issue in spring version 2.3.3. I have two services and two client balanced services consuming these other two services. A separate service for visualizing the Eureka Dashboard with below properties. But still same error![image](https://user-images.githubusercontent.com/17704966/92757970-30e98900-f386-11ea-841b-4ffd7ebfaf34.png)
main class annotated @EnableHystrixDashboard#
Configuration class added as suggested in the above discussions
Pom.XML-
bootstrap.properties-
Originally posted by @Vishalckc in https://github.com/Netflix/Hystrix/issues/1566#issuecomment-690393102