zoukankan      html  css  js  c++  java
  • springBoot Ribbon Hystrix Dashboard

    1.引入依赖

    <!-- 引入关于 hystrix Dashboard的依赖 -->
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
                <version>2.0.2.RELEASE</version>
            </dependency>

    2.主函数开启

    @EnableHystrixDashboard

    3.actuator 中开启hyxstrix

    management:
      endpoints:
        web:
          exposure:
            include: "*"
      server:
        port: 10113
        servlet:
          context-path: /
        ssl:
          enabled: false
      endpoint:
        health:
          show-details: always
        hystrix:
          stream:
            enabled: true

    4.运行http://192.168.9.6:10113/actuator/hystrix.stream  显示

    5.运行 http://192.168.9.6:8764/hystrix 显示

    6.填入http://192.168.9.6:10113/actuator/hystrix.stream 点击Monitor Stream 显示

    欢迎指正:haizi2014@qq.com
  • 相关阅读:
    Windows 网络监测ping IP输出时间
    python
    遇见问题汇总
    在路上积累
    Condition
    ReentrantReadWriteLock
    AbstractQueuedSynchronizer
    jmeter使用
    使用VisualVM监控java进程
    CNVD漏洞证书(2)
  • 原文地址:https://www.cnblogs.com/hcfan/p/10154768.html
Copyright © 2011-2022 走看看