Autowiring

Insepctor nodejs module is able to detect the modules you require in your application and automatically instrument them to be monitored during transaction execution.

You can take advantage from autowiring by requiring the inspector module at the first line of your script, before requiring any other modules.

Here is the list of modules autowired by default:

  • mysql2

  • mssql

  • pg

  • knex

  • mongodb

Last updated