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
  • 相关阅读:
    感知机学习笔记
    NOIP 模拟19
    NOIP 模拟17
    NOIP模拟14-16
    「动态规划」-数位dp专题
    8.5 NOIP 模拟测试 13
    8.3 NOIP 模拟12题解
    8.3 NOIP CE反思
    「分治」-cdq分治
    8.1 NOIP模拟11
  • 原文地址:https://www.cnblogs.com/hcfan/p/10154768.html
Copyright © 2011-2022 走看看