Skip to content

Conversation

minhtule
Copy link
Contributor

@minhtule minhtule commented May 28, 2023

What does this pull request do?

Support Psycopg3 synchronous operations by instrumenting psycopg.connect. Add PsycopgInstrumentation which adopts Psycopg2Instrumentation.

Related issues

Closes #1789

@cla-checker-service
Copy link

cla-checker-service bot commented May 28, 2023

💚 CLA has been signed

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels May 28, 2023
@minhtule minhtule force-pushed the support-psycopg3 branch 2 times, most recently from f316d3d to 903157c Compare May 28, 2023 08:19
@minhtule minhtule marked this pull request as ready for review May 28, 2023 08:19
@minhtule minhtule changed the title Support Psycopg3 Support Psycopg3 synchronous operations May 28, 2023
@minhtule minhtule force-pushed the support-psycopg3 branch from 903157c to ef2d870 Compare May 28, 2023 11:43
@basepi
Copy link
Contributor

basepi commented May 30, 2023

@mariocandela could you test this as well? I know your team was looking for this instrumentation.

@basepi
Copy link
Contributor

basepi commented May 30, 2023

@minhtule This is awesome! Thank you for being so thorough and even including tests! I should be able to get this properly reviewed today.

Copy link
Contributor

@basepi basepi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! I'm going to get @beniwohli to take a look as well and then we can get this merged!

@basepi basepi requested a review from beniwohli May 30, 2023 17:29
Copy link
Contributor

@beniwohli beniwohli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@basepi basepi merged commit 228b96b into elastic:main Jun 2, 2023
@minhtule
Copy link
Contributor Author

minhtule commented Jun 3, 2023

@basepi @beniwohli Thank you very much for your quick response and review! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-python community Issues opened by the community triage Issues awaiting triage

3 participants