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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.60b0.tar.gz
Algorithm Hash digest
SHA256 5079ed8df96d01dab915a0766cd28a49be7c33439ce43d6d39843ed6dee3204f
MD5 67c8e13ee6e320d87b2438910441dea8
BLAKE2b-256 260f94c6181e95c867f559715887c418170a9eadd92ea6090122d464e375ff56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.60b0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9957f3a650ae55502fa227b29ff985b37d63e41c85e6e1555d48039f092ea83
MD5 c846fbc77afbbdba15a6bc7caad158f5
BLAKE2b-256 f1e12f13b41c5679243ba8eae651170c4ce2f532349877819566ae4a89a2b47f

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