---
id: opentelemetry-instrumentation-asgi
version: "0.65b0"
license: Apache-2.0
license_treatment: permissive
maintenance: active
---
# opentelemetry-instrumentation-asgi — ASGI instrumentation for OpenTelemetry
License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI
## Install
pip install opentelemetry-instrumentation-asgi
uv add opentelemetry-instrumentation-asgi
poetry add opentelemetry-instrumentation-asgi
## Description
OpenTelemetry ASGI Instrumentation
==================================
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-asgi.svg
:target: https://pypi.org/project/opentelemetry-instrumentation-asgi/
This library provides a ASGI middleware that can be used on any ASGI framework
(such as Django, Starlette, FastAPI or Quart) to track requests timing through OpenTelemetry.
Installation
------------
::
pip install opentelemetry-instrumentation-asgi
References
----------
* `OpenTelemetry Project `_
* `OpenTelemetry Python Examples `_
## AI interpretation — verify before relying
Provides ASGI middleware for OpenTelemetry that automatically instruments request timing and tracing across ASGI frameworks like Django, Starlette, FastAPI, and Quart.
Verdict: A well-maintained, actively developed instrumentation library for adding observability to ASGI applications via OpenTelemetry. Beta status and zero known vulnerabilities make it suitable for production use where tracing is needed. Low install friction and permissive licensing support broad adoption.
[View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-asgi) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-asgi/)