Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 805 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 805 Bytes

StatsD KairosDB backend

This StatsD backend publishes stats to a KairosDB database instance.

CAVEAT

This has not been used in production and I'm not sure if I understand KairosDB correctly yet. So please be careful!

Installation

$ cd /path/to/statsd
$ npm install statsd-kairosdb-backend

Configuration

You can configure the following settings in your StatsD config file.

{
  kairosdb: {
    host: 'localhost',
    port: 4242,
    reconnectInterval: 1000
  }
}

Activation

Add the statsd-kairosdb-backend to the list of StatsD backends in the config file and restart the StatsD process.

{
  backends: ['./backends/graphite', 'statsd-kairosdb-backend']
}