OpenTelemetry Instrumentation for Django
Project description
This library allows tracing requests for Django applications.
Installation
pip install opentelemetry-instrumentation-django
Configuration
Exclude lists
To exclude certain URLs from being tracked, set the environment variable OTEL_PYTHON_DJANGO_EXCLUDED_URLS with comma delimited regexes representing which URLs to exclude.
For example,
export OTEL_PYTHON_DJANGO_EXCLUDED_URLS="client/.*/info,healthcheck"
will exclude requests such as https://site/client/123/info and https://site/xyz/healthcheck.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for opentelemetry-instrumentation-django-0.12b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acef8c8c80b2d8f2706edd59d929b300e8fdab2d156f4a28321b7ce2bb3d813f |
|
MD5 | ecf7301cf61674ed0b74483afc743a75 |
|
BLAKE2b-256 | a0fb6bc2dc5d841e342b7a2412430eeb9b937c9e584db28a38152abec8411751 |
Close
Hashes for opentelemetry_instrumentation_django-0.12b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd5108ebea5e58dbd164f2eaf932129814cca570ad101d9fdeb1fea5928b39e |
|
MD5 | e10e8065c0e2555f6c8f1183492e553f |
|
BLAKE2b-256 | c7d0b9bc9c502d99a45a29066648e7d9f68deb49a395ae79a926a84f6e893b12 |