statsd-opentsdb-backend
statsd-opentsdb-backend copied to clipboard
StatsD OpenTSDB publisher backend
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:
- 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