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.39b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6adcf3d71b8d3a5cb0d608e677e8cd0c6328a6e97ae071d4225c3fff4a84af67 |
|
MD5 | e7d2a6369b0ea1778920f037adf36468 |
|
BLAKE2b-256 | 05292c5746cb99faa517f305a9009ecf8542d1c29dee0dee616447e8b0878ad1 |
Close
Hashes for opentelemetry_instrumentation_requests-0.39b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7fa2d02e4fdd00ddb585c7e920ee7f0d949682af2b53f49590015c21ba11a1f |
|
MD5 | 45ef5ca0443edf65c466b43d0963bc88 |
|
BLAKE2b-256 | 8b639ddc0de4d7300602aacb6f2f443ba383073c9a2860e03d0deb136a86393e |