Skip to content

Commit 84d82d0

Browse files
Fix
1 parent e6ca8fe commit 84d82d0

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2

1 file changed

+1
-0
lines changed

instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ def _uninstrument(self, **kwargs):
178178
dbapi.unwrap_connect(psycopg2, "connect")
179179

180180
# TODO(owais): check if core dbapi can do this for all dbapi implementations e.g, pymysql and mysql
181+
@staticmethod
181182
def instrument_connection(
182183
connection: pg_connection,
183184
tracer_provider: typing.Optional[trace_api.TracerProvider] = None,

0 commit comments

Comments
 (0)