Hystrix monitoring problems

Hystrix monitor the problem:

pom.xml:

 
  <dependency>
   <groupId>org.springframework.cloud</groupId>
   <artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
  </dependency>
  <dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-actuator</artifactId>
  </dependency>

Add comments on the controller:

@SpringBootApplication
@EnableHystrixDashboard

 

After the start: no problem accessing http://127.0.0.1:8030/hystrix.stream

When monitoring a service: a consistent appearance loading

Solution: 1. Manually monitoring API access

 2. Replace the browser (google)

3.application.properties added in the configuration: management.endpoints.web.exposure.include = "*"

 

Guess you like

Origin www.cnblogs.com/CoderRdf/p/11599488.html