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.33b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f428e4696779d4b4b6ade8b1f04d83ef3a619a3402093aa246336f6b2b01da0 |
|
MD5 | 7859b021c87ded114f8219285f63757e |
|
BLAKE2b-256 | 8a68aa6c9aedb112cce621f4715deff440fa4c0b6034d6e7cd49b15ab3c59c50 |
Close
Hashes for opentelemetry_instrumentation_requests-0.33b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4b82863f09eb4e759667f010d586bfcb8d271e1288d83e4402f547ba703868a |
|
MD5 | 5c8ac589aa2428beeb4c995fa23bc106 |
|
BLAKE2b-256 | d13d68c1175618307c43714714c855592825cff5c1ac542a6441a05846ea74fd |