Node.js Monitoring Quick Start Guide

Getting started with Instrumental and Node.js

Here's how to get up and running with Node.js application monitoring and Instrumental. Like all our agents, the Node.js agent is designed to prevent exceptions from impacting your application. It's also completely non-blocking.


Add the agent to your project:

npm install instrumental-agent

Require the agent and configure it with your project token:

var I = require('instrumental-agent');
  apiKey: 'PROJECT_TOKEN',
  enabled: true

Sending Metrics

Increments are simple counters. learn more

I.increment('' /*, value = 1, time = now, count = 1 */);

Gauges represent a value at a point in time. learn more

I.gauge('', 234 /*, time = now, count = 1 */);

Sending Notices

Notices are project specific events.

I.notice('Deployed revision 038ade4 to production' /*, time = now, duration = 0 */);

More Node + Instrumental

Complete Node Agent Docs

Everything to know about the Instrumental Node.js agent!

go to docs

Where to Start Monitoring

Not sure what to measure? This guide will help you decide where to start!

read the guide

Using StatsD or statsite? We’ve got you covered with our StatsD backend and statsite sink

Questions? We can help!