Pre-release
This release is a pre-release and may not be stable for production use.
OpenTelemetry Requests Instrumentation
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
Metadata
Release files for opentelemetry-instrumentation-requests 0.66b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentelemetry_instrumentation_requests-0.66b1.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_instrumentation_requests-0.66b1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / opentelemetry_instrumentation_requests-0.66b1.tar.gz
| Download URL | opentelemetry_instrumentation_requests-0.66b1.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28578f72e68e3a5be3226c618ac9570ed360ef1dd22d5d6e0721c6905a4ccc67
|
|
BLAKE2b-256 checksum How to use checksums |
0862dcca0b7a2008675056040c61b70d37b5a24439613c7822068908ad3255ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.22
|
Release files / opentelemetry_instrumentation_requests-0.66b1-py3-none-any.whl
| Download URL | opentelemetry_instrumentation_requests-0.66b1-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ba17d984a2bd876b88bf0aafcca27b5e3ff4c1821e0fe07641e380a3cf3a3a2
|
|
BLAKE2b-256 checksum How to use checksums |
880198e9bb7fef12784cd19811e454cf25bce4d774fd3e46b3f5fd2bce237075
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.22
|