Skip to content

This project shows how to use vertx with opencensus in groovy.

Notifications You must be signed in to change notification settings

bouillon/groovy-vert.x-jaeger-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vert.x with opencensus and jaerger trace demo (groovy)

This project shows how to use vertx with opencensus in groovy. Software exports tracers to Jaeger by JaegerTraceExporter It works also with Zipkin (tested)

Flow

  1. gv1 generate periodicaly a message and send them to the event bus
  2. gv2 recieve the messages and do some job
  3. publish the result to the event bus back
  4. g1 recieve the message and deliver(print out and log) it to customer. After that finish the span scope

Software requirements:

How to start

Start Jaeger like:

$ docker run -d -e \
    COLLECTOR_ZIPKIN_HTTP_PORT=9411 \
    -p 5775:5775/udp \
    -p 6831:6831/udp \
    -p 6832:6832/udp \
    -p 5778:5778 \
    -p 16686:16686 \
    -p 14268:14268 \
    -p 9411:9411 \
    jaegertracing/all-in-one:latest

Run the execution verticle

$ cd gv2
$ ./gradlew run

Run the generator verticle

$ cd gv1
$ ./gredlew run

have fun.

Checkout the expected result in the doc folder

About

This project shows how to use vertx with opencensus in groovy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages