--- id: opentelemetry-instrumentation-psycopg2 version: "0.65b0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-instrumentation-psycopg2 — OpenTelemetry psycopg2 instrumentation License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install opentelemetry-instrumentation-psycopg2 uv add opentelemetry-instrumentation-psycopg2 poetry add opentelemetry-instrumentation-psycopg2 ## Description OpenTelemetry Psycopg2 Instrumentation ====================================== |pypi| .. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-psycopg2.svg :target: https://pypi.org/project/opentelemetry-instrumentation-psycopg2/ Installation ------------ :: pip install opentelemetry-instrumentation-psycopg2 References ---------- * `OpenTelemetry Psycopg2 Instrumentation `_ * `OpenTelemetry Project `_ * `OpenTelemetry Python Examples `_ ## AI interpretation — verify before relying Automatically instruments psycopg2 database connections to emit OpenTelemetry traces, capturing SQL queries and database operations for observability. Verdict: A well-maintained, actively developed instrumentation library in beta status with no known vulnerabilities and permissive licensing. Low install friction and broad Python 3.10+ support make it suitable for production observability pipelines, though its beta classification warrants monitoring for API changes. [View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-psycopg2) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-psycopg2/)