--- id: opentelemetry-instrumentation-requests version: "0.65b0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-instrumentation-requests — OpenTelemetry requests instrumentation License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install opentelemetry-instrumentation-requests uv add opentelemetry-instrumentation-requests poetry add opentelemetry-instrumentation-requests ## Description OpenTelemetry Requests Instrumentation ====================================== |pypi| .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-requests.svg :target: https://pypi.org/project/opentelemetry-instrumentation-requests/ 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 ---------- * `OpenTelemetry requests Instrumentation `_ * `OpenTelemetry Project `_ * `OpenTelemetry Python Examples... ## AI interpretation — verify before relying Automatically traces HTTP requests made by the requests library, capturing them as OpenTelemetry spans for observability and distributed tracing. Verdict: Active, well-maintained instrumentation package for tracing HTTP calls within OpenTelemetry ecosystems. Beta status (0.65b0) and no known vulnerabilities make it suitable for production observability pipelines. Low install friction and permissive licensing support broad adoption. [View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-requests) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-requests/)