The AppSignal for Node.js integration for PostgreSQL, through the
pg package v8.0.0+.
@appsignal/nodejs package to your
package.json. Then, run
You can also add these packages to your
package.json on the command line:
1 2 yarn add @appsignal/nodejs npm install --save @appsignal/nodejs
You can then import and use the package in your app. No further steps are required to instrument calls made to your database - this is done automatically.
The integration will send the following instrumentation data to AppSignal:
- ✅ Query duration
- ✅ (Sanitized) SQL query body
- ✅ Errors