Skip to main content

OpenTelemetry requests instrumentation

Project description

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

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file opentelemetry_instrumentation_requests-0.55b0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.55b0.tar.gz
Algorithm Hash digest
SHA256 018c6e5550f10a116f101b619a3e330d309ae3438e6c7ad1541c77e56d6f3b49
MD5 aa04375d9d18925e59e045987b9cb8fb
BLAKE2b-256 9f3a1d7c0a22b04b3697539b0f564fd6ac0bd8cfbf384791e69b2ce5dc3e2097

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_requests-0.55b0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.55b0-py3-none-any.whl
Algorithm Hash digest
SHA256 9299303c5b23ea0c825f6bda346f585171471e19e6c1313c19a3facddf1e2a42
MD5 9f624fbeedc2f9b8d7a4f7ed366fe1cb
BLAKE2b-256 22eea6c0f61543412ba5a15c38f113eab07a0c09ebc5c4c9965507e2c24cf994

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page