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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.58b0.tar.gz
Algorithm Hash digest
SHA256 ae9495e6ff64e27bdb839fce91dbb4be56e325139828e8005f875baf41951a2e
MD5 8aa29068d409993eaced547d1ec58feb
BLAKE2b-256 364283ee32de763b919779aaa595b60c5a7b9c0a4b33952bbe432c5f6a783085

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_requests-0.58b0-py3-none-any.whl
Algorithm Hash digest
SHA256 672a0be0bb5b52bea0c11820b35e27edcf4cd22d34abe4afc59a92a80519f8a8
MD5 e872d53b9e1ae2e9a620bc134d92f552
BLAKE2b-256 904df3476b28ea167d1762134352d01ae9693940a42c78994d9f1b32a4477816

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