Skip to main content

Django opentracing middleware works with k8s and istio

Project description


Django opentracing middleware works with k8s and istio


pip install django-istio-opentracing


Add a middleware to your Django middleware.


And if you using requests, jusing using the patch in maybe your file. Hint: make sure the patch line before your code.

from django_istio_opentracing import monkey

Then use requests whatever you want, every request you make will carry the b3 code in header without extra coding.

Also you can use it directly in view:

from django_istio_opentracing import get_opentracing_span_headers
def index(request):
    return HttpResponse('ok')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_istio_opentracing-1.0.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page