opentelemetry-instrumentation-dbapi
OpenTelemetry Database API instrumentation
Install
opentelemetry-instrumentation-dbapi on PyPI
pip
pip install opentelemetry-instrumentation-dbapiuv
uv add opentelemetry-instrumentation-dbapipoetry
poetry add opentelemetry-instrumentation-dbapiPackage 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, wrapt |
| 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_dbapi-0.65b0-py3-none-any.whl
About opentelemetry-instrumentation-dbapi
from the package's own PyPI description — quoted content, verbatim
OpenTelemetry Database API instrumentation
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-dbapi.svg :target: https://pypi.org/project/opentelemetry-instrumentation-dbapi/
Installation
::
pip install opentelemetry-instrumentation-dbapi
References
OpenTelemetry Database API Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/dbapi/dbapi.html>_OpenTelemetry Project <https://opentelemetry.io/>_OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/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 instruments Python database API calls to emit OpenTelemetry traces, capturing database operations for observability and performance monitoring.
Low friction: pure Python wheel with four stable runtime dependencies (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, wrapt). Active maintenance with a recent release 28 days ago.
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production environments.
Usage
pip install opentelemetry-instrumentation-dbapi
from opentelemetry.instrumentation.dbapi import trace_integration
trace_integration()
Requires Python 3.10 or later; package is in Beta (0.65b0) status.
Verdict: A well-maintained, low-friction instrumentation library for database observability in OpenTelemetry ecosystems. Beta status and recent activity suggest active development. No known vulnerabilities and permissive licensing make it safe for adoption, though Beta maturity warrants testing before production deployment.
Needs verification
- Which specific database APIs (DB-API 2.0 implementations) are supported by this instrumentation.
- Whether the Beta version (0.65b0) is considered production-ready or if a stable release is recommended.
Similar packages
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-fastapipermissive · top 1,000 on PyPI
opentelemetry-instrumentation-psycopg2permissive · top 1,000 on PyPI
opentelemetry-instrumentation-redispermissive · top 1,000 on PyPI
opentelemetry-instrumentation-djangopermissive · top 1,000 on PyPI
opentelemetry-instrumentation-loggingpermissive · top 1,000 on PyPI
opentelemetry-instrumentation-sqlalchemypermissive · top 1,000 on PyPI
opentelemetry-instrumentation-requestspermissive · top 1,000 on PyPI
prometheus-clientpermissive · top 1,000 on PyPI
opentelemetry-instrumentation-wsgipermissive · top 1,000 on PyPI