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

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.50b0.tar.gz
Algorithm Hash digest
SHA256 f8088c76f757985b492aad33331d21aec2f99c197472a57091c2e986a4b7ec8b
MD5 0cf8cc27477ef564542b447c6a758229
BLAKE2b-256 745687da0dc0f0a26a1f72f63b404b83c5e404eaf5d69f057758006ac8ac5942

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.50b0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c60a890988d6765de9230004d0af9071b3b2e1ddba4ca3b631cfb8a1722208d
MD5 a8589b8f6a61822feb35b83b187a5775
BLAKE2b-256 f58c7965b61d71a085c7f97357cc6bd2a14832ee430fec4fceea66577d625ecf

See more details on using hashes here.

Supported by

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