This is a pluggable backend for StatsD, which publishes stats to OpenTSDB (http://opentsdb.net)
npm install statsd-opentsdb-backend
You have to give basic information about your OpenTSDB server to use
{ opentsdbHost: 'localhost'
, opentsdbPort: 4242
, opentsdbTagPrefix: '_t_'
}
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
- none
If you want to contribute:
- Clone your fork
- Hack away
- If you are adding new functionality, document it in the README
- Push the branch up to GitHub
- Send a pull request