How to install Airbrake for Express error monitoring

Installing Airbrake in your Express app takes no more than 3 minutes:

  1. Create an Airbrake account
  2. Add the Airbrake package to your package.json:
      "dependencies": {
        "airbrake-js": "^1.6.8"
  3. Invoke the following command from your terminal: npm install airbrake-js
  4. Add your configuration snippet to your project's app.js file:
    var airbrake = new AirbrakeClient({
      projectId: 123,
      projectKey: 'abcdefg12345678'
Detailed instructions and extra options can be found in the airbrake-js GitHub repository .

Key features

  • SSL
  • Blazing fast
  • Notifications via email, Campfire or Webhooks
  • Fast Search
  • GitHub, Trello, Slack, JIRA, Pivotal Tracker, GitHub Enterprise, GitLab, GitLab CE/EE, Bitbucket, Lighthouse, Flowdock, Campfire, Assembla, custom webhooks and other
  • Dupe detection
  • Filtering
  • Multiple users
  • Comprehensive read & write API
  • Deploy tracking

You monitor your servers and your apps, but is anyone monitoring your user experience? Every minute that your customer experience is compromised costs you more than just money. It costs you goodwill. Fortunately, Airbrake can help.

Capturing Express exceptions is easy with the Airbrake Express error reporting tool. Airbrake installs in minutes and monitors your Express applications 24 hours/day, 7 days/week, notifying you in real time to all new errors that occur. Detailed stack traces, environment and users reports make Express error handling easy. With Airbrake, there's no more sifting through massive log reports for that elusive error. Instead, you receive instant insight into the line of code that broke, the environment in which it occurred, and the deploy it's tied to.

Airbrake makes drilling down and understanding what's happening with your Express app easy so that you can quickly fix the problem, with:

  • Stack traces, parameters, and affected users - locate, assess, and resolve errors in a timely manner
  • Error trends and deploy tracking - simplifying the job of managing and triaging errors
  • Custom workflow integrations - collaborate within your team to prioritize and triage errors

Finding the root cause of your application exceptions is easier than ever, with Airbrake Express. Airbrake assists you in locating the errors file, the method, and even the line of code. And with proprietary and customizable grouping algorithms, cutting through the noise and focusing on fixing the errors that matter most has never been so easy. Let Airbrake help you handle errors so that you can get back to the business of delighting your users.

Why Airbrake?

  • Fix bugs faster

    Stacktraces, parameters, affected users - you name it. All the info you need to identify, assess and resolve errors quickly.

  • Monitor code quality

    With deploy tracking, error trends, and detailed dashboards, managing and triaging errors has never been easier.

  • Improve team productivity

    Collaborate, prioritize, triage and more with our custom workflow integrations.

Find the root cause

  • Identify the root cause fast
  • Locate the errors file, method and even the line of code
  • Identify affected users, browsers, URLs, and more with Aggregations
  • Find any error with search and filter features

Advance your workflow

  • Collaborate and discuss the reported errors to prioritize and transfer them into tasks
  • Link errors with your favorite project managment and chat tools
  • Include all team members and enhance error based communication

Haven't tried Airbrake yet?

Start your free trial