StatsD OpenTSDB publisher backend
JavaScript
Switch branches/tags
Nothing to show
Clone or download
danslimmon Merge pull request #4 from overstre/master
Use stripped key in legacy namespace for counters.
Latest commit 059eb9c Apr 12, 2016

README.md

StatsD OpenTSDB publisher backend

Overview

This is a pluggable backend for StatsD, which publishes stats to OpenTSDB (http://opentsdb.net)

Installation

npm install statsd-opentsdb-backend

Configuration

You have to give basic information about your OpenTSDB server to use

{ opentsdbHost: 'localhost'
, opentsdbPort: 4242
, opentsdbTagPrefix: '_t_'
}

Tag support

This backend allows you to attach OpenTSDB tags to your metrics. To add a counter called gorets and tag the data foo=bar, you'd write the following to statsd:

gorets._t_foo.bar:261|c

Dependencies

  • none

Development

Issues

If you want to contribute:

  1. Clone your fork
  2. Hack away
  3. If you are adding new functionality, document it in the README
  4. Push the branch up to GitHub
  5. Send a pull request