Meteor is a complete platform for building web and mobile apps in pure Javascript. Atatus provides meteor package for monitoring errors and performance of your Meteor apps.

Meteor Client Installation

Install Atatus meteor integration package using:
Add AtatusNotifier.initialize(settings) to Meteor.startup() on the client, ie:
where client.apiKey is your browser project’s API key. If you don’t have a browser project in your Atatus dashboard, then create a project and follow the steps. Here client.options is an advanced configuration to atatus and it is optional. If you are using the Meteor Accounts package, you can enable user tracking on errors with trackUser option.

Test Integration

To verify that your integration is working, call notify() in your application. An error will appear in your project dashboard.

Meteor Server Installation

To track meteor errors in Meteor server, you need to create Node.js APM project and install Atatus Node.js agent.
Initialize atatus in your meteor server as follows
where YOUR_APM_LICENSE_KEY is your APM license key. YOUR_APP_NAME is your Node.js project name in atatus.

Notify Error from Meteor Client

Atatus can capture errors automatically. You can also manually notify error as follows
Optionally you can pass a custom data as second argument and tags as third argument:
Atatus also works very well with saving full error and exception stack traces. Simply pass an Error or a Meteor.Error object to the log method to keep the stack trace.