Skip to content

Conversation

@martinkuba
Copy link
Contributor

This commit broke the newrelic instrumentation since the Client constructor used in pool is now hidden and cannot be instrumented.
a8bd44a

This is a quick fix to unblock any users using pg native and pooling with newrelic. I am open to working on a better way to instrument as a follow up, if this is not optimal.

@brianc
Copy link
Owner

brianc commented Apr 26, 2016

I know what you're saying - I'm really sorry that the newrelic instrumentation was broken! I'll merge this for now. Would you be able to put together a unit test exercising this functionality so I don't break it again in the future? A separate PR for the test is fine. :)

I'll push a patch version out to npm today.

@brianc brianc merged commit 52aa25d into brianc:master Apr 26, 2016
@martinkuba
Copy link
Contributor Author

@brianc Yes, I will open a new PR for adding a test. Thanks for merging this in!

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

Labels

None yet

2 participants