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.63b1.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.63b1.tar.gz
Algorithm Hash digest
SHA256 513fcaa3d93debbdb359c00ce1a137a34a89ee908c51ac43beb7e8c18ac2b3cd
MD5 8b1f713e72a759bc320ac4ee660118a4
BLAKE2b-256 7b397b14ef15c7c74b0da7d32b449732795a5cf7495897b72fc0b48280b96f50

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_requests-0.63b1-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.63b1-py3-none-any.whl
Algorithm Hash digest
SHA256 935c980a11e33bfd7ed969c741e4bd7c84077045651469f10e163534368d87f7
MD5 8b8cfd6d241605789047c2c79aab025f
BLAKE2b-256 f818a5e35fe8c9ad8041b71dd712658589de5d692aaa17d7cbce7f87a5cb0d0f

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