--- id: opentelemetry-instrumentation-fastapi version: "0.65b0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-instrumentation-fastapi — OpenTelemetry FastAPI Instrumentation License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install opentelemetry-instrumentation-fastapi uv add opentelemetry-instrumentation-fastapi poetry add opentelemetry-instrumentation-fastapi ## Description OpenTelemetry FastAPI Instrumentation ======================================= |pypi| .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-fastapi.svg :target: https://pypi.org/project/opentelemetry-instrumentation-fastapi/ This library provides automatic and manual instrumentation of FastAPI web frameworks, instrumenting http requests served by applications utilizing the framework. auto-instrumentation using the opentelemetry-instrumentation package is also supported. Installation ------------ :: pip install opentelemetry-instrumentation-fastapi References ---------- * `OpenTelemetry Project `_ * `OpenTelemetry Python Examples `_ ## AI interpretation — verify before relying Automatically instruments FastAPI applications to emit OpenTelemetry traces for HTTP requests, enabling observability of web request handling and performance. Verdict: A well-maintained, low-friction instrumentation library for FastAPI observability. Active development, permissive licensing, and zero known vulnerabilities make it suitable for production tracing pipelines, though Beta status warrants monitoring for API changes. [View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-fastapi) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-fastapi/)