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.44b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69fe6b72d4e6e229ae0d5eef356f0ade87488fcbd0f2f4782a7c616224d97266 |
|
MD5 | d91c81217d10202d5d27b7fd8b4385fb |
|
BLAKE2b-256 | 24d0f9feb4bf11125718556b4c92903fb85f634d0291eb5bc8d5503b9d7fc3ca |
Close
Hashes for opentelemetry_instrumentation_requests-0.44b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce4a647507afe55acf243b4bd669cc64b31a6444424e89d72d37a7fa0caf215 |
|
MD5 | 28936fab36b662c45a1765080a8cc629 |
|
BLAKE2b-256 | 61072dc322e9a66a867ce2581b5a9b38487ca27dd8e68c3b13e4ae9f6649eda6 |