node package manager


A StatsD backend for Monitis

Monitis Backend for StatsD

StatsD is a Node.js daemon that accepts metrics over a simple and lightweight UDP protocol, aggregates those metrics, and sends the results to one or more backend systems for long-term time series data storage, graphing, alerting, etc. Existing backends included with StatsD support graphite and console output for testing. Third-party backends exist for Librato, Ganglia, and AMQP. Using statsd-monitis-backend, the same aggregated metrics can be sent to Monitis, with custom monitors automatically created as necessary.

  • Node.js
  • StatsD, with patches for Raw metrics
  • NPM
  • Monitis account
  • Install Node.js and NPM (Node Package Manager)

StatsD can be installed via npm, or cloned from GitHub. Using Git, clone your own local copy of StatsD.

$ git clone git://

In your StatsD directory, you can use NPM to install statsd-monitis-backend.

$ cd statsd
$ npm install

Sign up for a Monitis account at Once signed up, log in at When you're logged in, you can retrieve API keys under:

  • Tools -> API -> API Key.

In a new StatsD install, you'll typically copy exampleConfig.js to local.config. Edit your local.config to use the Monitis backend. It should have someting like the following:

  backends: ["statsd-monitis-backend"],
  flushInterval: 60000,
  dumpMessages: true,
  monitis: {
    apikey: '_your_api_key_',
    secretkey: '_your_secret_key_'

In the same StatsD directory where you used NPM to install statsd-monitis-backend and edited local.config, use node to run StatsD.

$ node stats.js local.config

For more information, contact Jeremiah Shirk,