Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pypi

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

Metadata

Release files for opentelemetry-instrumentation-requests 0.28b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentelemetry-instrumentation-requests 0.28b1
File Size Uploaded
opentelemetry-instrumentation-requests-0.28b1.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-instrumentation-requests 0.28b1
File Interpreter ABI Platform
opentelemetry_instrumentation_requests-0.28b1-py3-none-any.whl Python 3 none any Details

Total release size: 23.9 kB

Release files / opentelemetry-instrumentation-requests-0.28b1.tar.gz

Download URL opentelemetry-instrumentation-requests-0.28b1.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ba301fb76452d5f30db220683c3e892767954227c358fd64298c846073e3e18d
BLAKE2b-256 checksum
How to use checksums
f1e479797d0b4bd2d3cf34699e173b4cc2d9a6bc78f5ab829842e61d9ad8f7a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release files / opentelemetry_instrumentation_requests-0.28b1-py3-none-any.whl

Download URL opentelemetry_instrumentation_requests-0.28b1-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29a538e7a2d599187dcfb7e1c83cfa74ec1044cd59b820a2524d1d72d5635dd8
BLAKE2b-256 checksum
How to use checksums
de4fa7cea232e3c73ebca0c1ec3a40668b0a9d46a6c1004e1addc6a34544e086
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release history Release notifications | RSS feed

This release

0.28b1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page