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.47b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f85ed52cbca21bff226e0e7f1888e5b9bc386657ecf4b0440f328e5b3aba8436 |
|
MD5 | 7766ed332d22a3aa95fd89756503b37a |
|
BLAKE2b-256 | 8f0c15a8527aa9002b61c57ea993428e320d72a246501ea4a6e477a8ebeaa91d |
Close
Hashes for opentelemetry_instrumentation_requests-0.47b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77fdd13f64fef2cb44665fe6975eadb993d78f96612e55a502e79b34ef7fee47 |
|
MD5 | ca470a419574ace13e4522c096fa2e2b |
|
BLAKE2b-256 | bea71e38c7ff326b0e91a51e14698e749cf9c945195b23739805970e84ae160d |