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.62b0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.62b0.tar.gz
Algorithm Hash digest
SHA256 4534f961729393e8070cd5b779fa42937f5b7380ef481107ffd4042b31816ce2
MD5 d2c3a3c0527817ea24c0fd60527df178
BLAKE2b-256 2077bbc89f2264e03b53fc3e9462a69415f30c23e88c7f0f5e6ebf594471355e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.62b0-py3-none-any.whl
Algorithm Hash digest
SHA256 edf61785ecb3ec6923e33c24074c82067f286a418f817b2b82546956d120e6d6
MD5 77dddb41d2d55075441c9fbc5ef0b29e
BLAKE2b-256 9754a73d688d969283f344de96c43366912addb94bdbef413bcebac22979545e

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