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
Release files for opentelemetry-instrumentation-requests 0.66b0
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.66b0.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_instrumentation_requests-0.66b0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / opentelemetry_instrumentation_requests-0.66b0.tar.gz
| Download URL | opentelemetry_instrumentation_requests-0.66b0.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f9df08bf99f5da4bcfda70735492b4364bfcc5bd3f48232658e936f97ee1a22
|
|
BLAKE2b-256 checksum How to use checksums |
36362e5c03665dac74246e1e7a957860bbd3a86da77aa915adcb02c661f562e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / opentelemetry_instrumentation_requests-0.66b0-py3-none-any.whl
| Download URL | opentelemetry_instrumentation_requests-0.66b0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
053dde08fbc1d223058e33d477cf81e2bdcbe7af3893787283339b2b557d4b7a
|
|
BLAKE2b-256 checksum How to use checksums |
9e34e87d9a452247149c8eee73a444f01f76e5840e8548437c6fcc3a3ae16850
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|