Skip to content

Latest commit

 

History

History
 
 

zipkin-examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Vert.x Zipkin example

Here you will find examples demonstrating Vert.x Zipkin in action.

Please consult the Vert.x Zipkin manual for the detailed documentation.

Microservices

This example shows a couple of simple microservices monitored with Vert.x Zipkin

Joke service

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

Hello service

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

Gateway

The Gateway is a simple HTTP gateway that exposes both Joke and Hello services.

The HTTP server and the HTTP client contribute traces.

You can query this service with curl:

> curl http://localhost:8080/hello
> curl http://localhost:8080/joke

Zipkin

You need to start an Zipkin server

> docker run -d -p 9411:9411 openzipkin/zipkin

Jaeger provides a visual console

zipkin

You can run the Hello, Joke and Gateway services in your IDE with Zipkin Example

Or you can start them separately: