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.34b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e32b9236824f41d31ccbf85f2fe21d3f83e22e645df21f021b36779333c205c |
|
MD5 | 70ae7ef2c42dfb890bed5bb126c59052 |
|
BLAKE2b-256 | 2a3aed7032ba5231bf5e0d818c9a3575e05cd0aff8e5c42d9e3dc27e75c07166 |
Close
Hashes for opentelemetry_instrumentation_requests-0.34b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0e95dc5fae6a42dda2762f1dad954ec4ec2ed7fb18d8b093b22f71ca044902b |
|
MD5 | ec7d0b3841936e029f33ec042b4da72c |
|
BLAKE2b-256 | bca99ec9eb4f622948b9d4767322d3d98e45cf3ffbe2174ebd1615316ef547eb |