Skip to content

add support for pg-native#473

Merged
rochdev merged 20 commits into
v0.10.0from
pg-native
Mar 4, 2019
Merged

add support for pg-native#473
rochdev merged 20 commits into
v0.10.0from
pg-native

Conversation

@rochdev

@rochdev rochdev commented Mar 3, 2019

Copy link
Copy Markdown
Member

This PR adds automatic instrumentation for the pg.native.Client class additionally to the existing pg.Client instrumentation.

Closes #334

@rochdev
rochdev requested a review from brettlangdon March 3, 2019 20:48
Comment thread test/plugins/agent.js Outdated
// Wipe the require cache.
wipe () {
const basedir = path.join(__dirname, '..', '..', 'versions')
const exceptions = ['/libpq/']

@brettlangdon brettlangdon Mar 4, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to do this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment to explain.

@rochdev
rochdev merged commit 4a8e7e1 into v0.10.0 Mar 4, 2019
@rochdev
rochdev deleted the pg-native branch March 4, 2019 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants