MySQL
This feature requires AppSignal for Node.js version 3.0.0 or higher.
This feature requires mysql version 2.0 or higher.
This feature requires mysql2 version 1.4.2 or higher.
The AppSignal for Node.js integration for MySQL, using the mysql
and mysql2
packages.
Installation
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.
Features
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 mysql
or mysql2
packages as its database adapter, such as Knex or TypeORM.