agardnerIT/python-fastapi-requests-traceparent

★ 0Forks 0PythonGitHub ↗Compare

README

python-fastapi-requests-traceparent

This is the companion repo for this video: https://www.youtube.com/watch?v=azyVG0T1aVc

Watch this video in conjunction with this repo as it'll make much more sense (plus, the video shows how to fix the "split trace" problem).

python -m venv .
source bin/activate
pip install -r requirements.txt

########################
# Terminal 1: app1
python app1.py

########################
# Terminal 2: app2
python app2.py

########################
# Terminal 3: Jaeger
# Start Jaeger all-in-one
# Using docker instructions here
# https://www.jaegertracing.io/docs/2.10/getting-started/#all-in-one

########################
# Send a request to app1
curl http://localhost:8080

Contributors

agardnerIT

Issues