Node.js Error Monitoring with Raygun

Easily detect, diagnose and fix Node.js errors

Solving Node.js errors has never been so easy!

Detect, diagnose and destroy Node.js errors that are affecting your customers. With smart Node.js error monitoring software from Raygun, you can be alerted to issues affecting your users, the second they happen.

Node.js errors can tend to be noisy and throw in a lot of unuseful information. Raygun helps you cut through this noise and focus on the problems that are affecting the largest number of users of your application.

Raygun supports all major programming languages and platforms. Whatever your tech stack looks like, or whether you’re monitoring backend or frontend code, Raygun can ensure all issues are brought to your team’s attention. All errors are reported to your Raygun dashboard automatically along with full diagnostic details on how to solve them.

Getting started - It's quick and easy


Add code snippets

Install the module with:

npm install raygun --save

Create a RaygunClient using your application API key.

var raygun = require('raygun');
var raygunClient = new raygun.Client().init({ apiKey: 'Your_API_Key' });

Start sending data!

There are many ways to send exceptions using raygun. The best way to do it is by using domains. (In the code sample below, a test error is being thrown in the run function).

var d = require('domain').create();
d.on('error', function(err){
  raygunClient.send(err, {}, function () {
  var err = new Error('phasers offline');
  throw err;

Raygun will start monitoring your application for Node.js errors that are present in your application. Errors are grouped by their root cause and smart notifications alert you to the things that need attention.

Start fixing the Node.js errors and improve your app quality!

Don’t rely on your users to report errors

14 day free trial - no credit card required!

Node.js Error Monitoring Features

Raygun gives you full stacktraces for each and every error occurrence, along with environment information, HTTP requests, raw data, browser, OS, affected users and more. All the details you need to rectify issues quickly and efficiently. Raygun stores every single error event (no data sampling) so you’ll always have the right information at hand when needing to see when, why and how an error occurred.

  • Rather than be bombarded with a flood of messages and error emails, Raygun silently monitors your applications in the background and offers smart alerts for you when need to take action. Notifications are fully customizable, but repeating error instance emails and team chat alerts are sent only when issues are recurring or getting worse, resulting in more signal, and less noise.
  • Raygun allows you to set inbound filters to remove the reporting of errors you don’t care about or cannot fix, meaning you’ll be able to see the problems that are highest priority and affecting the largest amount of users. Choose what you want to monitor with custom setup for dealing with private user details and sensitive information, you can do it all.

It takes minutes to set Raygun up - seriously

Simply add a short Node.js code snippet and deploy your application into production, that’s all you need to start monitoring your application for Node.js errors. Start fixing bugs within minutes!
More about Crash Reporting

Raygun also supports your backend

Don’t rely on your users to report errors

14 day free trial - no credit card required!

Supports all major web and mobile programming languages

View all languages

Integrates with the workflow tools you use everyday

View all integrations

Solve your Node.js errors with Raygun

Forget logs and support tickets. Find the answers you need with greater speed and accuracy.

Discover why 40,000+ developers love Raygun

14-day free trial - no credit card required