Coder Social home page Coder Social logo

zipkin-php-example's People

Contributors

abesto avatar adriancole avatar jcchavezs avatar

Stargazers

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

Watchers

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

zipkin-php-example's Issues

run example fail

hi, i am using this example , followed your guide, when i input curl http://localhost:8081 in terminal, i got this error blow

<br />
<b>Fatal error</b>:  Uncaught TypeError: Argument 2 passed to Zipkin\Reporters\Http::__construct() must be of the type array, object given, called in /Users/admin/private/zipkin-php-example/functions.php on line 18 and defined in /Users/admin/private/zipkin-php-example/vendor/jcchavezs/zipkin/src/Zipkin/Reporters/Http.php:29
Stack trace:
#0 /Users/admin/private/zipkin-php-example/functions.php(18): Zipkin\Reporters\Http-&gt;__construct(Object(Zipkin\Reporters\Http\CurlFactory), Object(Monolog\Logger))
#1 /Users/admin/private/zipkin-php-example/frontend.php(11): create_tracing('frontend', '127.0.0.1')
#2 {main}
  thrown in <b>/Users/admin/private/zipkin-php-example/vendor/jcchavezs/zipkin/src/Zipkin/Reporters/Http.php</b> on line <b>29</b><br />

i am a java programer,try to build tracing system between java and php, need some help @jcchavezs

polish up the doc and how to introduce zipkin into the php app?

  • I am javaer,not familar with php(the best language in the world).when run the example, fail in the backend.php Line6
    require_once __DIR__ . '/vendor/autoload.php';
    when run composer install, everything is ok.Do we need to polish up the doc for beginner like me?if so,I can give a PR.

  • the traces of this example is too simple,can we do some random calls to make the traces more sophisticated, let users see the zipkin's power?

  • if our PHP applications use zipkin,Does zipkin intrude too much into origin PHP codes?e,g

         $span->setKind(Zipkin\Kind\SERVER);
         $span->setName('parse_request');
    

    Does PHP has something like filter,annotation or AOP?

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.