Skip to content

Conversation

@JaeHyuckSa
Copy link

What does this pull request do?

  • instrument psycopg.Connection.connect so that psycopg_pool.ConnectionPool-managed connections are proxied and DB spans are emitted again

Related issues

Closes #2094

@JaeHyuckSa JaeHyuckSa requested a review from a team as a code owner October 17, 2025 18:13
@cla-checker-service
Copy link

cla-checker-service bot commented Oct 17, 2025

💚 CLA has been signed

@github-actions
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels Oct 17, 2025
@JaeHyuckSa JaeHyuckSa force-pushed the fix/psycopg-pool-instrumentation branch from 0b6bbdd to a1200b5 Compare October 17, 2025 18:17
Copy link
Member

@xrmx xrmx left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. We are using - as separator so the test framework name should be called psycopg_pool and reqs and envs file should be renamed. Also in order to run tests in CI you need to add an entry psycopg_pool-newest in .ci/.matrix_framework.yml and .ci/.matrix_framework_full.yml.

@xrmx
Copy link
Member

xrmx commented Nov 4, 2025

@JaeHyuckSa The tests file name was good, the requirements and environments one are wrong. Also the matrix files update is missing.

@JaeHyuckSa JaeHyuckSa force-pushed the fix/psycopg-pool-instrumentation branch 2 times, most recently from 4ed3c00 to c30e88b Compare November 5, 2025 15:35
@JaeHyuckSa JaeHyuckSa force-pushed the fix/psycopg-pool-instrumentation branch from c30e88b to e67babb Compare November 5, 2025 15:38
@JaeHyuckSa
Copy link
Author

@xrmx Thank you for the review. I was going to make some other changes back then but forgot about it… I’ve now reflected everything you mentioned!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

psycopg pool not instrumented

2 participants