瀏覽代碼

新增分布式追踪系统

chenweida 8 年之前
父節點
當前提交
a470afa8bf
共有 2 個文件被更改,包括 21 次插入3 次删除
  1. 8 1
      svr-dashboard/readme.MD
  2. 13 2
      svr-logServer/readme.MD

+ 8 - 1
svr-dashboard/readme.MD

@ -2,4 +2,11 @@
    地址: ip:port/hystriz
    例如 http://localhost:9010/hystrix
    可以启动网关 然后输入网关的监控地址
    例如 http://localhost:8088/hystrix.stream
    例如 http://localhost:8088/hystrix.stream
    
添加需要监控的客户端
    添加maven支持即可
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>

+ 13 - 2
svr-logServer/readme.MD

@ -1,4 +1,15 @@
svr-logServer 
    分布式跟踪系统
    ui:localhost:9411
    
    ui地址 :localhost:9411
    
配置需要跟踪的系统
    添加maven支持即可
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-starter-sleuth</artifactId>
            </dependency>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-sleuth-zipkin</artifactId>
            </dependency>