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.40b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ec1ca56fb519f2f1f4f30bd4cbed956720825ad04e0307f4e1d25074f887b06 |
|
MD5 | a51cbf65c190e37f5627940547c49666 |
|
BLAKE2b-256 | f8288fc440c03d81c761d457fb0e82506bb1ac6cbd72f4e972274b90264012c6 |
Close
Hashes for opentelemetry_instrumentation_requests-0.40b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79b454aadce5d1566f885c66e2b8e08efbdc9ffafd079662531a096612b585de |
|
MD5 | 6c3b731872d765cab47aebefe59f9d27 |
|
BLAKE2b-256 | 078be4239bb2fd47378bf360100aab5819c94e539abaa139bcca1225a6d8ecf0 |