Giter VIP home page Giter VIP logo

http-dubbo-zipkin's Introduction

通过模拟订单详情的查询,演示系统的调用链跟踪,跟踪信息包括调用服务及请求参数。 涉及的各工程作用:

louie-webapi:向外部提供http调用,返回json;

louie-order:模拟订单系统,查询订单详情;

louie-account:模拟账户系统,查询账户信息,调用链如图 调用流程

使用:

1、下载zipkin并运行 wget -O zipkin.jar 'https://search.maven.org/remote_content?g=io.zipkin.java&a=zipkin-server&v=LATEST&c=exec' java -jar zipkin.jar

2、下载本项目并安装 mvn install

3、将生成的三个war包部署到Tomcat

4、http调用 http://localhost:8080/louie-webapi/service.do?service=order.customer.orderInfo&data={"token":"jkfldjsliewklkklls","id":89}

  service参数为Service注解值加上方法名,为对应提供的rpc服务,data参数为rpc请求参数   service

  打开zipkin ui,http://localhost:9411/,查看调用链信息,   跟踪信息

   span信息,带请求参数    span信息,带请求参数

http-dubbo-zipkin's People

Contributors

blacklau avatar

Watchers

Jacob 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.