Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement 'MultiTracer' #2084

Merged
merged 4 commits into from
Jul 15, 2024
Merged

Implement 'MultiTracer' #2084

merged 4 commits into from
Jul 15, 2024

Conversation

EpicStep
Copy link
Contributor

Hi. I'm tried to implement multi tracer (#1677)
I took the fact that in ConnConfig the main tracer is QueryTracer and I decided to split from it into different tracers inside the constructor. If the API is good, I'll write the tests.

@jackc
Copy link
Owner

jackc commented Jul 12, 2024

Seems reasonable.

@EpicStep EpicStep marked this pull request as ready for review July 12, 2024 23:05
@EpicStep
Copy link
Contributor Author

EpicStep commented Jul 12, 2024

Should we support pgxpool Acquire/Release Tracer?

@jackc
Copy link
Owner

jackc commented Jul 13, 2024

Should we support pgxpool Acquire/Release Tracer?

Yes.

@EpicStep
Copy link
Contributor Author

I'm done. I moved multi tracer to a separate package to avoid an import cycle.

@jackc jackc merged commit ea9610f into jackc:master Jul 15, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants