This repository contains an example of an express + zipkinjs integration. The project contains:
- A web service that shows a date.
- An API that returns the current date.
- a docker-compose file to run zipkin.
To run the example you need to follow these steps:
$ docker-compose up
: This command will start the dockerzipkin
container on9411
.$ yarn
: This will download the js dependencies.$ yarn api
: This will startdate-service
on port 3001.$ yarn web
: This will startweb-backend
on port 3000.- Go to
http://localhost:3000
. This will show you the current date. - Search the trace in
http://localhost:9411/zipkin/
. Can you tell what's happening? :)