hystrix dashboard cluster monitoring deployment

1. Add HystrixMetricsStreamServlet to the web application web.xml that needs to be monitored
<servlet>
        <display-name>HystrixMetricsStreamServlet</display-name>
        <servlet-name>HystrixMetricsStreamServlet</servlet-name>
        <servlet-class>com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>HystrixMetricsStreamServlet</servlet-name>
        <url-pattern>/hystrix.stream</url-pattern>
    </servlet-mapping>



2. Install hystrix Turbine to monitor the cluster
https://github.com/Netflix/Turbine/wiki/Getting-Started-(1.x)


3. Download standalone-hystrix-dashboard-{VERSION}-all.jar
This is hystrix -Dashboard extension, provides jar method to start hystrix-dashboard, which is relatively lightweight (recommended), of course, you can also use https://github.com/kennedyoliveira/standalone-hystrix-dashboard provided by hystrix
to recommend
https://github.com/kennedyoliveira/standalone-hystrix-dashboard .com/Netflix/Hystrix/tree/master/hystrix-dashboard


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326492805&siteId=291194637