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.32b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 408862328db34066161c9c1daeb4c63178c1d217eb013e7574086edcc590b526 |
|
MD5 | b920934d2ce0ac0ba79118411254449b |
|
BLAKE2b-256 | 5fa8726552dbab982ee46b35b57b6f350c098823ed654d8d1df8fda72a36152f |
Close
Hashes for opentelemetry_instrumentation_requests-0.32b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8444b4dded874616166da2d6e81419fe42b9d585a0d91eaf10cf59b84f96b67e |
|
MD5 | eb634d2cd06aad5b3e89d1331bb74fde |
|
BLAKE2b-256 | bb3ca9adbf10c53f0af6cda086f1a55cfed93bc3ec0b2f762644f18a97c8efe1 |