skillfed

opentelemetry-instrumentation-requests

OpenTelemetry requests instrumentation

opentelemetry-instrumentation-requests Permissive license Apache-2.0 Active 1,086 v0.65b0 released

Install

opentelemetry-instrumentation-requests on PyPI

pip

pip install opentelemetry-instrumentation-requests

uv

uv add opentelemetry-instrumentation-requests

poetry

poetry add opentelemetry-instrumentation-requests

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, opentelemetry-util-http
Maintenance actively maintained — 28 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: opentelemetry_instrumentation_requests-0.65b0-py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

About opentelemetry-instrumentation-requests

from the package's own PyPI description — quoted content, verbatim

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 <https://requests.readthedocs.io/en/master/>_ 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 <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/requests/requests.html>_
  • OpenTelemetry Project <https://opentelemetry.io/>_
  • `OpenTelemetry Python Examples...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Automatically traces HTTP requests made by the requests library, capturing them as OpenTelemetry spans for observability and distributed tracing.

Low friction install with four stable OpenTelemetry dependencies. Package is actively maintained with recent releases; last commit 2026-08-13 and 28 days since latest release indicate ongoing development.

Apache-2.0 permissive license allows use in most commercial and open-source projects with minimal restrictions; attribution required.

Usage

pip install opentelemetry-instrumentation-requests

from opentelemetry.instrumentation.requests import RequestsInstrumentor
RequestsInstrumentor().instrument()

Requires Python 3.10 or later.

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.

Needs verification

  • Whether the package is production-ready despite beta version designation (0.65b0).
  • Performance overhead of automatic instrumentation on high-volume request workloads.
http request tracingopentelemetry requests instrumentationdistributed tracing httprequests library observabilityautomatic http span captureopentelemetry http client tracing

Similar packages