Skip to content

baggiponte/quickstart-logfire-opentelemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logfire + OpenTelemetry

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.

Launch the service

  1. Clone the repository to your local machine.
  2. Launch the services using:
docker compose up --build
  1. Open the Jaeger GUI on localhost:16686
  2. Select the dice_player in the dropdown:
  3. Visit this endpoint: http://localhost:8081/play
  4. Go back to Jaeger and click on Find Traces

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published