skillfed

opentelemetry-instrumentation-dbapi

OpenTelemetry Database API instrumentation

opentelemetry-instrumentation-dbapi Permissive license Apache-2.0 Active 1,086 v0.65b0 released

Install

opentelemetry-instrumentation-dbapi on PyPI

pip

pip install opentelemetry-instrumentation-dbapi

uv

uv add opentelemetry-instrumentation-dbapi

poetry

poetry add opentelemetry-instrumentation-dbapi

Package 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

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

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.
opentelemetry database tracingdbapi instrumentationdatabase observability pythonsql query tracingdatabase performance monitoringopentelemetry dbapidistributed tracing database calls

Similar packages