AppSignal for Node.jsThis feature requires version 3.0.0 or higher.
mysqlThis feature requires version 2.0 or higher.
mysql2This feature requires version 1.4.2 or higher.
The AppSignal for Node.js integration for MySQL, using the
The MySQL client library is instrumented automatically by the AppSignal for Node.js package. No additional setup is required to instrument MySQL in your application.
The MySQL 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
mysql2 packages as its database adapter, such as Knex or TypeORM.