Skip to main content

Running examples

We've tried to make running examples as easy as possible so you can follow along with the documentation. There is some setup required to run the examples, but once you've done that you should be able to run any of the examples.

Pre-requisites

  • Docker
  • Docker Compose

Setup

  1. Clone the repository
  2. Run docker-compose up -d in the root of the repository which will spin up Jaegar, Cassandra, Postgres and Kafka
  3. Run any of the examples in the project. They are modules suffixed with -example

For example, if we wanted to run the core-examples, we would run the following command:

sbt shell
project core-examples
run

Check out the Jaegar UI to see traces that the examples generate Jaegar UI