---
id: opentelemetry-instrumentation-sqlalchemy
version: "0.65b0"
license: Apache-2.0
license_treatment: permissive
maintenance: active
---
# opentelemetry-instrumentation-sqlalchemy — OpenTelemetry SQLAlchemy instrumentation
License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI
## Install
pip install opentelemetry-instrumentation-sqlalchemy
uv add opentelemetry-instrumentation-sqlalchemy
poetry add opentelemetry-instrumentation-sqlalchemy
## Description
OpenTelemetry SQLAlchemy Instrumentation
========================================
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-sqlalchemy.svg
:target: https://pypi.org/project/opentelemetry-instrumentation-sqlalchemy/
This library allows tracing requests made by the SQLAlchemy library.
Installation
------------
::
pip install opentelemetry-instrumentation-sqlalchemy
References
----------
* `SQLAlchemy Project `_
* `OpenTelemetry SQLAlchemy Tracing `_
* `OpenTelemetry Project `_
* `OpenTelemetry Python Examples `_
## AI interpretation — verify before relying
Automatically traces SQL queries executed through SQLAlchemy, integrating with OpenTelemetry to capture database operation metrics and spans for observability.
Verdict: A well-maintained, actively developed instrumentation library in beta status with no known vulnerabilities. Permissive licensing and low install friction make it suitable for adding SQLAlchemy observability to OpenTelemetry-enabled applications, though beta status warrants testing before production deployment.
[View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-sqlalchemy) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-sqlalchemy/)