前面的话】书接上文,本文的某些知识依赖我的上一篇SpringCLoud的文章:
我们可以看到服务已经全部启动成功

  • 然后访问几次http://localhost:8806/getHello和http://localhost:8805/hello使之产生熔断器数据,然后访问http://localhost:8806/hystrix按照提示选择第一个集群监控
    选择聚合监控
    查看详情

  • 肆、消息队列来做到异步监控

    turbine服务端修改

    <dependencies>         <dependency>             <groupId>org.springframework.cloud</groupId>             <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>         </dependency>         <dependency>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-starter-security</artifactId>         </dependency>         <dependency>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-starter-web</artifactId>         </dependency>         <dependency>             <groupId>de.codecentric</groupId>             <artifactId>spring-boot-admin-starter-client</artifactId>             <version>2.1.6</version>         </dependency>         <dependency>             <groupId>org.springframework.cloud</groupId>             <artifactId>spring-cloud-starter-turbine</artifactId>             <version>1.4.7.RELEASE</version>         </dependency>         <dependency>             <groupId>org.springframework.cloud</groupId>             <artifactId>spring-cloud-netflix-turbine</artifactId>         </dependency>         <dependency>             <groupId>org.springframework.boot</groupId>             <artifactId>spring-boot-starter-actuator</artifactId>         </dependency>         <dependency>             <groupId>org.springframework.cloud</groupId>             <artifactId>spring-cloud-starter-turbine-amqp</artifactId>             <version>1.4.7.RELEASE</version>         </dependency>     </dependencies>      <build>         <plugins>             <plugin>                 <groupId>org.springframework.boot</