opentelemetry-instrumentation-pymssql
OpenTelemetry pymssql instrumentation
Decision gist · record as of 2026-08-14
Yes, if you use pymssql and need OpenTelemetry integration. Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make it a straightforward addition to observability stacks. Beta status is not a blocker for production use in the OpenTelemetry ecosystem. Install it only if you already have an OpenTelemetry collector or exporter configured to receive the spans.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; pymssql library must be installed separately to be instrumented.
- Low friction install with three stable OpenTelemetry runtime dependencies.
- Active maintenance with a recent release (29 days old) and ongoing commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must retain license notices.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 346,811 downloads/mo, #7,352 on PyPI
Alternatives
Verify before relying
pip install opentelemetry-instrumentation-pymssql
from opentelemetry.instrumentation.pymssql import PyMSSQLInstrumentor
PyMSSQLInstrumentor().instrument()- Whether the instrumentation works with all pymssql versions or has specific compatibility constraints.
- Performance overhead of tracing in production workloads with high query volume.
- Whether sampler configuration and span filtering are documented and supported.
What it is and what it does
This package integrates pymssql database connections into OpenTelemetry's distributed tracing ecosystem. It automatically captures SQL queries, execution time, and connection details as spans, allowing you to see database activity within your broader observability stack without modifying application code.
It's part of the OpenTelemetry Python contrib ecosystem and depends on opentelemetry-instrumentation-dbapi for the underlying database instrumentation layer. The package is in beta (version 0.65b0), meaning the core functionality is stable but the API may evolve. It supports Python 3.10 through 3.14 and is actively maintained.
Use it for
- Monitor SQL Server query performance and latency in distributed tracing systems like Jaeger or Datadog.
- Correlate database queries with application logs and metrics for end-to-end observability.
- Debug slow database operations by viewing query spans alongside application traces.
- Track database connection pool usage and query execution patterns in production.
- Integrate SQL Server monitoring into existing OpenTelemetry deployments without code refactoring.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use pymssql and need OpenTelemetry integration.
Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make it a straightforward addition to observability stacks. Beta status is not a blocker for production use in the OpenTelemetry ecosystem. Install it only if you already have an OpenTelemetry collector or exporter configured to receive the spans.
Install
opentelemetry-instrumentation-pymssql on PyPI
Before you install
Low friction install with three stable OpenTelemetry runtime dependencies. Active maintenance with a recent release (29 days old) and ongoing commits. Beta status indicates the instrumentation is functional but may see API refinements.
Requires Python 3.10 or later; pymssql library must be installed separately to be instrumented.
License in practice
Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must retain license notices.
Quickstart
pip install opentelemetry-instrumentation-pymssql
from opentelemetry.instrumentation.pymssql import PyMSSQLInstrumentor
PyMSSQLInstrumentor().instrument()
Verify before relying
- Whether the instrumentation works with all pymssql versions or has specific compatibility constraints.
- Performance overhead of tracing in production workloads with high query volume.
- Whether sampler configuration and span filtering are documented and supported.
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 | 346,811 / month, #7,352 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_pymssql-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 › “pymssql tracing”
- opentelemetry-instrumentation-pymssqlAdds automatic tracing and monitoring of pymssql database connections…
- pymssqlpymssql provides a Python DB-API interface to Microsoft SQL Server,…
- apache-airflow-providers-microsoft-mssqlIntegrates Microsoft SQL Server (MSSQL) with Apache Airflow,…
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 · pymssql · opentelemetry-instrumentation-pymongo · opentelemetry-instrumentation-pymysql · opentelemetry-instrumentation-mysqlclient · opentelemetry-instrumentation-sqlite3 · opentelemetry-instrumentation-psycopg2 · opentelemetry-instrumentation-dbapi · opentelemetry-instrumentation-sqlalchemy · svql