Here you will find examples demonstrating Vert.x Opentracing in action.
Please consult the Vert.x Opentracing for the detailed documentation.
This example shows a couple of simple microservices monitored with Vert.x Opentracing
The Joke service provides an HTTP microservice for jokes stored in a PostgreSQL.
The HTTP server and the database client contribute traces.
You can query this service with curl:
> curl http://localhost:8082
The Hello service provides an HTTP microservice for saying hello. This service uses the Joke service to tell the user a joke.
The HTTP server and the HTTP client contribute traces.
You can query this service with curl:
> curl http://localhost:8081
You need to start an Opentracing server, such as Jaeger
> docker run -d -p5775:5775/udp -p6831:6831/udp -p6832:6832/udp -p5778:5778 -p16686:16686 -p14268:14268 -p9411:9411 jaegertracing/all-in-one:0.8.0
Jaeger provides a visual console
You can run the Hello, Joke and Gateway services in your IDE with Opentracing Example
Or you can start them separately: