You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In working on a fix for #2522, we decided to temporarily remove the check for if the psycopg2 connection provided to instrument_connection was already Otel-instrumented -- see PR comment. The logic originally introduced doesn't seem viable (AttributeError) but would still be good to have this feature.
Describe the solution you'd like
Add instrument_connection check for if provided connection already instrumented by psycopg2/psycopg Otel instrumentors. Don't instrument the connection again, and just return it.