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

Add support to CopyFrom method in pgx integration #825

Open
vinicius-batista opened this issue Nov 21, 2023 · 1 comment
Open

Add support to CopyFrom method in pgx integration #825

vinicius-batista opened this issue Nov 21, 2023 · 1 comment

Comments

@vinicius-batista
Copy link

Summary

Hi, currently we are using pgx methods CopyFrom, that uses postgresql copy protocol, on ours bulk inserts.
Pgx provides an interface from this method on Tracer interface but it's not implemented on pgx v5 integration.
I have found a open telemetry integration that implements support to CopyFrom link

Desired Behaviour

When any CopyFrom methods is called should appear a span on new relic request trace.

Possible Solution

I think we can base on otel implementation. If it's needed, I can provide a PR for this feature

Additional context

@iamemilio
Copy link
Contributor

IF you would like to put forward a pr, we are happy to guide you by leaving comments. Please assign one of us to it, and make sure to take the PR against the develop branch.

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

No branches or pull requests

2 participants