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.30b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d05ff3cbcd725c31cd72a16d28b8b5d85d028c6c5ee0b25e34d2e1a8fea7dfc9 |
|
MD5 | 78b91ff2a3625f517915d46b7b3ed519 |
|
BLAKE2b-256 | c354858408e7c0074695b9ee1d423a49733ccdd6a99b383d9123ebc5440e1924 |
Close
Hashes for opentelemetry_instrumentation_requests-0.30b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 315ce665bf23e9e45d745ea161482f594bf9a91de13c8e1251f5b31d81375e3a |
|
MD5 | 7dd8350d72f63c93770dc8745562e866 |
|
BLAKE2b-256 | 7a597315ec69143d989e16ae5bfde9e791eb28b94fa50ae328975c1075099f81 |