2014 10 08 error alerts and filters - giordanocardillo/kadira-server GitHub Wiki


layout: blog_post title: Kadira Error Alerts and Filters category: product summery: Today I am very happy to announce our new pricing model. This is the third time we are changing our pricing model. The reason is simple, we want Kadira to be an affordable solution for everyone.

We've launched an Error Tracking solution for Meteor early September and now almost all Kadira apps are using it. With your help, we've fixed bunch of issues and now there is a huge list of features to build over coming months. Thank You!

Today, I want to announce some of the essential features we've added recently to the Kadira Error Tracking. Let me show you them.

Error Alerts

Now you can create alerts targeting errors via our existing alert system. Just click on the "Alerts" button on the main menu and create your first Error Alert.

Kadira Error Alerts

I recommend you to create at least an alert for "Server Crash Count". Then you'll get an email when your server got crashed due to an error.

Error Filtering

Sometimes, you might won't need to track some errors in your app. Now you can easily filter them out by writing rules inside your app. For an examples, let's say "you need to filter all client errors which includes the word heartbeat".

This is how you can filter out those errors.

// inside client/kadira.js

Kadira.errors.addFilter(function(type, message, err) {
  if(type == 'client' && /heartbeat/.test(message)) {
    return false; // filter out this error
  }

  return true;
});

Check our documentation to learn more about error filters. (We've also created few default rules for you. Check the also.)

In order to get these features, you need to update kadira to the latest version.

Although these are two small features, I hope they'll make your life easier on maintaining errors.

⚠️ **GitHub.com Fallback** ⚠️