apm-agent-python
apm-agent-python copied to clipboard
Fix psycopg_pool instrumentation to restore Postgres spans
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
💚 CLA has been signed
:robot: GitHub comments
Expand to view the GitHub comments
Just comment with:
rundocs-build: Re-trigger the docs validation. (use unformatted text in the comment!)
@JaeHyuckSa The tests file name was good, the requirements and environments one are wrong. Also the matrix files update is missing.
@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!