A library to collect Zipkin headers from incoming requests and forward them to any outgoing ones. Offers integration for Django and Flask.
The following headers are being forwarded
x-b3-flagsx-b3-parentspanidx-b3-sampledx-b3-spanidx-b3-traceidx-ot-span-contextx-request-id
Add the following to requirements.txt
-e git+https://github.com/ueni-ltd/python-b3-propagation.git#egg=b3_propagation_django&subdirectory=django
Add b3_propagation.middleware.request_store_middleware to MIDDLEWARE setting
Use ZipkinHeadersSession from b3_propagation.session for any outgoing requests
Add the following to requirements.txt
-e git+https://github.com/ueni-ltd/python-b3-propagation.git#egg=b3_propagation_flask&subdirectory=flask
Use ZipkinHeadersSession from b3_propagation.session for any outgoing requests