$npx skillfedfor your agent

opentelemetry-util-http

Web util for OpenTelemetry

With conditionsPyPI MonitoringReleased Jul 2026217.7M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_util_http-0.65b0-py3-none-any.whl
v0.65b0 · released 2026-07-16 · Python >=3.10

Yes, if you are already using OpenTelemetry and need to instrument a web framework. The package has low friction, no external dependencies, active maintenance, and a permissive license. It is in Beta, so expect potential API changes; verify that the specific framework you use is supported before committing to it in production.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Assumes you have an ASGI application and OpenTelemetry instrumentation already configured.
  • Low install friction with no runtime dependencies.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.

last release 2026-07-16 (29 days) · last repo commit 2026-08-13 · 1,086 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 217,662,067 downloads/mo, #189 on PyPI

Verify before relying

pip install opentelemetry-util-http

from opentelemetry.instrumentation.asgi import OpenTelemetryMiddleware
app = OpenTelemetryMiddleware(app)  # Wrap your ASGI application
  • Whether WSGI middleware is included or if only ASGI is currently implemented.
  • What other HTTP-related utilities beyond middleware are provided by this package.
  • Performance overhead of the middleware on request latency.
Same gist for agents: .md · .json

What it is and what it does

opentelemetry-util-http is a utility library that provides middleware and HTTP-related helpers for integrating OpenTelemetry tracing into web frameworks. It wraps ASGI applications (and potentially WSGI) to automatically capture and export request timing and metadata as OpenTelemetry spans, enabling distributed tracing across your web services.

The package is designed as a shared component for framework-specific instrumentation packages. It has no runtime dependencies and installs cleanly. It's actively maintained as part of the OpenTelemetry Python contrib project, supports current Python versions (3.10–3.14), and carries an Apache-2.0 license. The library is in Beta status and ranks in the top 1000 PyPI packages by download volume.

Use it for

  • Add request tracing to a Django application by wrapping its ASGI handler with OpenTelemetryMiddleware.
  • Instrument a FastAPI or Starlette app to automatically emit spans for each HTTP request.
  • Integrate OpenTelemetry tracing into a Quart async web application without writing custom instrumentation.
  • Share common HTTP tracing logic across multiple web frameworks in a microservices architecture.
  • Track request latency and metadata in a raw ASGI application for observability.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using OpenTelemetry and need to instrument a web framework.

The package has low friction, no external dependencies, active maintenance, and a permissive license. It is in Beta, so expect potential API changes; verify that the specific framework you use is supported before committing to it in production.

Install

opentelemetry-util-http on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as of 2026-08-13 with recent releases. Supports modern Python versions (3.10–3.14).

Requires Python 3.10 or later. Assumes you have an ASGI application and OpenTelemetry instrumentation already configured.

License in practice

Apache-2.0 permissive license allows use in most projects without significant restrictions.

Quickstart

pip install opentelemetry-util-http

from opentelemetry.instrumentation.asgi import OpenTelemetryMiddleware
app = OpenTelemetryMiddleware(app)  # Wrap your ASGI application

Verify before relying

  • Whether WSGI middleware is included or if only ASGI is currently implemented.
  • What other HTTP-related utilities beyond middleware are provided by this package.
  • Performance overhead of the middleware on request latency.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads217,662,067 / month, #189 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

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

Tags

Capabilities
opentelemetry http middlewareasgi wsgi instrumentationrequest tracing web frameworksopentelemetry django fastapihttp request timing trackingweb framework observabilityasgi middleware tracing
Topics
observabilitydistributed-tracingasgi-middleware

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “opentelemetry http middleware”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also opentelemetry-instrumentation-asgi · opentelemetry-instrumentation-wsgi · timing-asgi · opentelemetry-instrumentation-starlette · opentelemetry-instrumentation-flask · opentelemetry-instrumentation-tornado · opentelemetry-instrumentation-fastapi · opentelemetry-instrumentation-pyramid · opentelemetry-instrumentation-django · opentelemetry-instrumentation-aiohttp-server