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
File details
Details for the file opentelemetry_instrumentation_requests-0.49b1.tar.gz
.
File metadata
- Download URL: opentelemetry_instrumentation_requests-0.49b1.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 329726afd607e1078e80bc2fb43741bd73e77c2d36804d9250d965858df8bd36 |
|
MD5 | 65ed07ffbe6d7c76ca18b353df6704e6 |
|
BLAKE2b-256 | 5e662f869ab1840a8226b485987cfa369228e6d4dc7e413f03ed795c9f7adc8a |
Provenance
File details
Details for the file opentelemetry_instrumentation_requests-0.49b1-py3-none-any.whl
.
File metadata
- Download URL: opentelemetry_instrumentation_requests-0.49b1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a7f8321f9cca5b4da3a96b63dde0c7a41775302f4e9e0267a775f9800efac59 |
|
MD5 | ba03c84e96871cc8020975c78d35e14b |
|
BLAKE2b-256 | 23b414ed3a0aec0ef84cb4b68179fa748109be7420693facb93cb68e6ab4be36 |