OpenTelemetry requests instrumentation
Project description
This library allows tracing HTTP requests made by the requests library.
Installation
pip install opentelemetry-instrumentation-requests
Configuration
Exclude lists
To exclude certain URLs from being tracked, set the environment variable OTEL_PYTHON_REQUESTS_EXCLUDED_URLS (or OTEL_PYTHON_EXCLUDED_URLS as fallback) with comma delimited regexes representing which URLs to exclude.
For example,
export OTEL_PYTHON_REQUESTS_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-requests-0.31b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c78e0ab9163e17c597c7a444252c28ed95d327f4becd5d9e05de4f5cdf2445f |
|
MD5 | 535c22c5dcb0aff3b94711808a0179c6 |
|
BLAKE2b-256 | e0de92d147ebdc53878cee88cfc5904ec602c47f95c16f42e480860b3765d7f0 |
Close
Hashes for opentelemetry_instrumentation_requests-0.31b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd1598cf172b753cf0c2b40c727f4d208221e074bd7a27110eaace6fe3a59121 |
|
MD5 | f853dd193f95ad9b08a5ab43b93d60cf |
|
BLAKE2b-256 | 49156205fdc1753497243a9a20d9a3caa33bf20a92c792df90baa14df6285bd1 |