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.27b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d12fcd6e8be1fe66a209dbca4f44872ed752334445cce3c18eea646c8c46acb5 |
|
MD5 | a368d2b7b46db02d7fd020dbba52f58d |
|
BLAKE2b-256 | c53b26bd0d1a319ae71bdf67b968752202fafe277cbb6e67cb91b407bdc25e87 |
Close
Hashes for opentelemetry_instrumentation_requests-0.27b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133e1b4d30fe9dcaf11294086eee4901da336a8c666e4caadc7e8e4c91b134f8 |
|
MD5 | 7610412931a92741b845c88583b461f3 |
|
BLAKE2b-256 | 44d1ba22a3a3d917085cc3fc400bb61c3a8b423c480dcbe2a87891ba0d3eaeda |