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.45b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bf1359284105ab50fa7465ea6c60b4a62c699408cb0260af3ac8895e8a7451a |
|
MD5 | fedcce965233d93fca54a3516027ee1a |
|
BLAKE2b-256 | c5ae50f4ae7a795d9970b7b60af8370683608826d0134628d13e2ddd27bff914 |
Close
Hashes for opentelemetry_instrumentation_requests-0.45b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 275851d04de518507b0411b98524602101b228b72e61f39dc627c0421ff2a81f |
|
MD5 | 72edfba734145393fc57934cb266c87b |
|
BLAKE2b-256 | 9ab10d996b4ababe70f5ed3c679741ffccabe2338dbc2fd3eb2a318c60437e63 |