FAQAPMHow do I 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 /server/main.js. This should be above all other import statements.

// /server/main.js
atatus = require('atatus-node');
atatus.start({ apiKey: "YOUR_NODE_PROJECT_APM_KEY" });
var consoleLogOrig = console.log;
console.log = function (arguments) {
    // special case for meteor dev mode
    if(arguments === 'LISTENING') {
        return consoleLogOrig.call(console, 'LISTENING');

    consoleLogOrig.call(console, arguments);

Since Meteor uses sockets for communication, Atatus APM will not collect the performance metrics from Meteor server. But you can track all your errors in the Atatus.