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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opentelemetry_instrumentation_requests-0.61b0.tar.gz.
File metadata
- Download URL: opentelemetry_instrumentation_requests-0.61b0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15f879ce8fb206bd7e6fdc61663ea63481040a845218c0cf42902ce70bd7e9d9
|
|
| MD5 |
e40d91c28ac19b9585497af41cfcf1a4
|
|
| BLAKE2b-256 |
5ac77a47cb85c7aa93a9c820552e414889185bcf91245271d12e5d443e5f834d
|
File details
Details for the file opentelemetry_instrumentation_requests-0.61b0-py3-none-any.whl.
File metadata
- Download URL: opentelemetry_instrumentation_requests-0.61b0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cce19b379949fe637eb73ba39b02c57d2d0805447ca6d86534aa33fcb141f683
|
|
| MD5 |
10c0ac6e106da10ca3ac7ac5b6fa180f
|
|
| BLAKE2b-256 |
5ea1a7a133b273d1f53950f16a370fc94367eff472c9c2576e8e9e28c62dcc9f
|