Go Back to Course Outline
Introduction
In this video, we will learn how to enable Hystrix dashboard to monitor the status and hystrix metrics of each microservices in real-time using Turbine.
Here’s how to Enable Hystrix Dashboard
- Add dependency spring-cloud-starter-netflix-hystrix-dashboard to the project.
- Annotate the SpringBoot class with @EnableHystrixDashboard.
- The hystrix stream is available via /actuator/hystrix.stream.
- While the Hystrix dashboard is at /hystrix.
Let's Run the Application
Run the microservices in this order:
- terawarehouse-config-server (node1)
- terawarehouse-service-discovery (node1)
- terawarehouse-load-balancer (node1)
- terawarehouse-catalog (node2)
- terawarehouse-inventory (node2)
- terawarehouse-business-api (node2)
*Run the postman collection inside the src/test/resources folder in terawarehouse-catalog project.
References
- https://github.com/Netflix-Skunkworks/hystrix-dashboard/wiki
- Codes are available at Github:


Post a Comment