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
If you use other modules that are not present in this list, let us know sending an email to support@inspector.dev we will consider to add them to this list.
Last updated