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.29b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4903787bb0759ae7b27ae76e3b744a51aa804ec2336760c8422d710ae8cd62c |
|
MD5 | 4b6d182083bf1b42573d529246573487 |
|
BLAKE2b-256 | 0d42832c8c026305922552ef77279514fa4eacfbbe5aa157f42bf2b607e04bb6 |
Close
Hashes for opentelemetry_instrumentation_requests-0.29b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd5614396f739d6675911daed8999cd0a156decbbf7bf145da2e62b17ddf213e |
|
MD5 | 87df2103868fc397ec95c092f1ca82b9 |
|
BLAKE2b-256 | 37288d2bce18a2c030b5267983a640e8b3c2a73a8e6d5b7c92962500c0f4159d |