opentelemetry-instrumentation-sqlite3
OpenTelemetry SQLite3 instrumentation
Decision gist · record as of 2026-08-14
Yes, if you are already using OpenTelemetry in your application and need visibility into SQLite3 operations. The package is actively maintained, has low install friction, and carries a permissive license. It is still in beta, so expect potential API changes; verify that span capture and attribute coverage meet your observability needs before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; an active OpenTelemetry tracer and exporter must be configured separately to capture the instrumented spans.
- Low install friction with a pure-Python wheel.
- Actively maintained as of 2026-08-14 with recent release activity.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects without viral obligations.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,881,869 downloads/mo, #2,018 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-sqlite3
from opentelemetry.instrumentation.sqlite3 import SQLite3Instrumentor
SQLite3Instrumentor().instrument()- Whether instrumentation automatically wraps all sqlite3 module calls or requires explicit connection/cursor wrapping.
- What specific span attributes (e.g., sql.query, db.name, db.operation) are captured and whether they can be customized.
- Whether there are known performance overheads or sampling strategies recommended for high-volume SQLite3 workloads.
What it is and what it does
This package integrates SQLite3 database operations into OpenTelemetry's distributed tracing ecosystem. It acts as a bridge between the sqlite3 standard library module and OpenTelemetry's instrumentation framework, automatically wrapping database calls to emit trace spans. When installed and activated, it captures SQL operations executed through sqlite3 and forwards them to whatever tracer and exporter your application has configured—typically for centralized observability platforms.
The package is built on top of opentelemetry-instrumentation-dbapi, which provides the generic database instrumentation layer, and depends on opentelemetry-api and opentelemetry-instrumentation for core tracing infrastructure. It is currently in beta status and supports Python 3.10 through 3.14. No known security vulnerabilities are recorded.
Use it for
- Trace SQLite3 queries in a distributed system to correlate database operations with upstream requests and downstream services.
- Monitor SQLite3 performance in production by exporting span metrics (latency, error rates) to observability platforms.
- Debug slow or failing SQLite3 operations by inspecting detailed trace context alongside application logs.
- Validate database query patterns in integration tests by asserting on captured spans.
- Profile SQLite3 usage in embedded or edge applications where centralized logging is unavailable.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using OpenTelemetry in your application and need visibility into SQLite3 operations.
The package is actively maintained, has low install friction, and carries a permissive license. It is still in beta, so expect potential API changes; verify that span capture and attribute coverage meet your observability needs before relying on it in production.
Install
opentelemetry-instrumentation-sqlite3 on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2026-08-14 with recent release activity. Depends on three core OpenTelemetry packages (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-instrumentation-dbapi), all standard instrumentation infrastructure.
Requires Python 3.10 or later; an active OpenTelemetry tracer and exporter must be configured separately to capture the instrumented spans.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects without viral obligations.
Quickstart
pip install opentelemetry-instrumentation-sqlite3
from opentelemetry.instrumentation.sqlite3 import SQLite3Instrumentor
SQLite3Instrumentor().instrument()
Verify before relying
- Whether instrumentation automatically wraps all sqlite3 module calls or requires explicit connection/cursor wrapping.
- What specific span attributes (e.g., sql.query, db.name, db.operation) are captured and whether they can be customized.
- Whether there are known performance overheads or sampling strategies recommended for high-volume SQLite3 workloads.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesopentelemetry-apiopentelemetry-instrumentation-dbapiopentelemetry-instrumentation |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,881,869 / month, #2,018 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: opentelemetry_instrumentation_sqlite3-0.65b0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sqlite3 tracing instrumentation”
- opentelemetry-instrumentation-sqlite3Adds OpenTelemetry tracing instrumentation to SQLite3 database calls,…
- opentelemetry-instrumentation-pymemcacheAdds OpenTelemetry tracing instrumentation to pymemcache client…
- opentelemetry-instrumentation-pymysqlAdds OpenTelemetry tracing instrumentation to PyMySQL database…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also opentelemetry-instrumentation-psycopg · opentelemetry-instrumentation-pymysql · opentelemetry-instrumentation-mysqlclient · opentelemetry-instrumentation-pymssql · opentelemetry-instrumentation-dbapi · opentelemetry-instrumentation-psycopg2 · opentelemetry-instrumentation-pymongo · opentelemetry-instrumentation-sqlalchemy · opentelemetry-instrumentation-system-metrics · opentelemetry-instrumentation-pyramid