Skip to content

enable instrumentation of Client used in pool #998

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

Merged
merged 1 commit into from
Apr 26, 2016

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants