This project is a proof of concept for using OpenTelemetry in Python. It consists of two services: a dice roller and a dice player. The dice roller service generates a random number between 1 and 6, simulating the roll of a dice. The dice player service calls the dice roller service twice, simulates a game where the player wins if the sum of the two rolls is 7 or 11.
- Clone the repository to your local machine.
- Launch the services using:
docker compose up --build
- Open the Jaeger GUI on
localhost:16686
- Select the
dice_player
in the dropdown: - Visit this endpoint:
http://localhost:8081/play
- Go back to Jaeger and click on
Find Traces