no

Design a Fault Tolerant Circuit Breaker With Hystrix

Go Back to Course Outline Introduction In this video, we will learn how to enable Hystrix dashboard to monitor the status and hystr...

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

  1. Add dependency spring-cloud-starter-netflix-hystrix-dashboard to the project.
  2. Annotate the SpringBoot class with @EnableHystrixDashboard.
  3. The hystrix stream is available via /actuator/hystrix.stream.
  4. While the Hystrix dashboard is at /hystrix.

Let's Run the Application

Run the microservices in this order:
  1. terawarehouse-config-server (node1)
  2. terawarehouse-service-discovery (node1)
  3. terawarehouse-load-balancer (node1)
  4. terawarehouse-catalog (node2)
  5. terawarehouse-inventory (node2)
  6. terawarehouse-business-api (node2)

*Run the postman collection inside the src/test/resources folder in terawarehouse-catalog project.

References

Related

spring-microservice 3962977511332264081

Post a Comment Default Comments

item