go-agent icon indicating copy to clipboard operation
go-agent copied to clipboard

Add support to CopyFrom method in pgx integration

Open vinicius-batista opened this issue 1 year ago • 1 comments

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

vinicius-batista avatar Nov 21 '23 14:11 vinicius-batista

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.

iamemilio avatar Nov 21 '23 23:11 iamemilio