GithubHelp home page GithubHelp logo

rucky2013 / dubbo-zipkin-spring-starter Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 108.0 221 KB

Zipkin 是一款Twitter开源的分布式实时数据追踪系统(Distributed Tracking System),此库是为国内著名服务治理框架dubbo编写的zipkin instrument library,支持对dubbo调用的全链路实时调用数据统计与依赖分析。springboot使用者可以直接引入此boot starter,扩展默认自动配置激活。

Shell 27.71% Batchfile 19.65% Java 52.64%

dubbo-zipkin-spring-starter's Introduction

dubbo-zipkin-spring-starter

Zipkin 是一款开源的分布式实时数据追踪系统(Distributed Tracking System),此库是为国内著名服务治理框架的dubbo 编写的instument library,支持 dubbo调用的全链路实时调用数据统计与依赖分析追踪。使用者可以直接引入此boot starter,扩展默认自动激活。

##运行自带的测试例子 ###1.下载zipkin数据收集服务器包 zipkin-service-0.0.1-SNAPSHOT.jar,这里以本地内存服务器做演示:

java ./zipkin-service-0.0.1-SNAPSHOT.jar

打开 http://localhost:9411/ 页面

###2.按顺序分别运行Dubbo的服务调用与提供者

  • 运行TestService2Provider.test()
  • 运行TestService1Provider.test()
  • 运行TestService1Consumer.test()

说明:

  • 调用关系为TestService1Consumer->TestService1Provider->TestService2Provider;
  • 一次调用会产生4个span,用来记录全链路的调用数据

###3.调用成功后,打开 http://localhost:9411/ 页面,查询调用数据,如图:

img1

img2

###4.目前这个starter还未部署到maven**仓库,后续会抽时间发布

dubbo-zipkin-spring-starter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.