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.41b0
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.41b0.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_instrumentation_requests-0.41b0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / opentelemetry_instrumentation_requests-0.41b0.tar.gz
| Download URL | opentelemetry_instrumentation_requests-0.41b0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdc5515ae7533e620b312fd989941b7c2c92d492a2d4418f6ef8db5d7422fa64
|
|
BLAKE2b-256 checksum How to use checksums |
7120b5156c6ce3d5d874ec63c9eed02c40dc6d80c0330de4040cf28b38ee4e5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / opentelemetry_instrumentation_requests-0.41b0-py3-none-any.whl
| Download URL | opentelemetry_instrumentation_requests-0.41b0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
687fde31111669e729054e64d246c96b0b9d4d8702bd0e3569b7660bdb528d71
|
|
BLAKE2b-256 checksum How to use checksums |
bfddb0625e7289936190245876ffd79d3a064124e3bf01c4defde5a0cfed3cb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|