PostgreSQL client
This feature requires AppSignal for Node.js version 3.0.0 or higher.
This feature requires pg package version 7.0.0 or higher.
The AppSignal for Node.js integration for PostgreSQL, using the pg
package.
Installation
The PostgreSQL client is instrumented automatically by the AppSignal for Node.js package. No additional setup is required to instrument PostgreSQL in your application.
Features
The PostgreSQL integration will send AppSignal a child span for each query. The child span represents the duration of the query and contains the SQL query sanitized.
This instrumentation will also work with any library that depends on the pg
package as its database adapter, such as Knex or TypeORM.