/server/main.js. This should be above all other import statements.
FAQ
How to track Meteor server errors?
To monitor Meteor server errors, you need to create Node.js APM Project in Atatus. Then you need to copy and paste the following code in
Since Meteor uses sockets for communication, Atatus APM will not collect the performance metrics from the Meteor server. But you can track all your errors in the Atatus.