From fa46143f40e03c928e250dfe441bf6e63387ae2b Mon Sep 17 00:00:00 2001 From: tammy-baylis-swi Date: Wed, 4 Dec 2024 16:04:48 -0800 Subject: [PATCH] Fix docs --- docs-requirements.txt | 1 + .../opentelemetry-instrumentation-psycopg2/README.rst | 4 ++-- .../src/opentelemetry/instrumentation/psycopg2/__init__.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs-requirements.txt b/docs-requirements.txt index d547e806a3..9274aeef8d 100644 --- a/docs-requirements.txt +++ b/docs-requirements.txt @@ -32,6 +32,7 @@ mysqlclient~=2.1.1 openai >= 1.26.0 psutil>=5 psycopg~=3.1.17 +psycopg2~=2.9.9 pika>=0.12.0 pymongo~=4.6.3 PyMySQL~=1.1.1 diff --git a/instrumentation/opentelemetry-instrumentation-psycopg2/README.rst b/instrumentation/opentelemetry-instrumentation-psycopg2/README.rst index 77f3e6858f..19a49985dd 100644 --- a/instrumentation/opentelemetry-instrumentation-psycopg2/README.rst +++ b/instrumentation/opentelemetry-instrumentation-psycopg2/README.rst @@ -1,4 +1,4 @@ -OpenTelemetry Psycopg Instrumentation +OpenTelemetry Psycopg2 Instrumentation ===================================== |pypi| @@ -16,6 +16,6 @@ Installation References ---------- -* `OpenTelemetry Psycopg Instrumentation `_ +* `OpenTelemetry Psycopg2 Instrumentation `_ * `OpenTelemetry Project `_ * `OpenTelemetry Python Examples `_ diff --git a/instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/__init__.py b/instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/__init__.py index d8b9030189..7c813624e4 100644 --- a/instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/__init__.py @@ -13,10 +13,10 @@ # limitations under the License. """ -The integration with PostgreSQL supports the `Psycopg`_ library, it can be enabled by +The integration with PostgreSQL supports the `Psycopg2`_ library, it can be enabled by using ``Psycopg2Instrumentor``. -.. _Psycopg: http://initd.org/psycopg/ +.. _Psycopg2: https://www.psycopg.org/docs/ SQLCOMMENTER *****************************************