Setting up Ember monitoring is easy

This short and simple guide will get you familiar in integrating Atatus with Ember apps
and start tracking error and performance.

Ember

Install Setup Code

Copy & paste this code into the <head> tag of your html (every page) to start using Atatus on your Ember app. Please make sure that you add it before other script tags as well.

<script src="//dmc1acwvwny3.cloudfront.net/atatus.js"> </script>
<script type="text/javascript"> atatus.config('YOUR_API_KEY').install(); </script>
Replace the YOUR_API_KEY string with the API Key that is assigned for your project.

Add atatus to the ember error handler

function reportError(error) {
  if (window.atatus) {
    window.atatus.notify(error);
  }
};
Ember.onerror = reportError;
Ember.RSVP.on('error', reportError);
App.ApplicationRoute = Ember.Route.extend({ actions: { error: reportError } });

Send an event

Just reload your page now. That's it! You've sent your first event.