AppSignal for Node.jsThis feature requires version 3.0.0 or higher.
Knex.jsThis feature requires version 2.0.0 or higher.

Default instrumentations can be disabled via the disableDefaultInstrumentations config option. You can read more about how to configure this in our Configuration Options documentation.

The AppSignal for Node.js integration for Knex.js.

This instrumentation will also work with any library that depends on the knex package, such as Bookshelf.js.


Knex.js is instrumented automatically by the AppSignal for Node.js package. No additional setup is required to instrument your Knex.js application.


The Knex.js integration will record a child span representing the execution time of each query and containing the SQL query sanitized.