statsd-opentsdb
v0.0.7
Published
Statsd opentsdb backend
Downloads
6
Readme
Statsd-OpenTSDB
EleStatsd (Our forked statsd from etsy) backend for OpenTSDB.
It offers a fancy way to pack and unpack metric tags, just like working with parameter pairs in url strings!
Example
$ echo "metric-name?tag1=val1&tag2=val2:1|c" | nc -u -w0 127.0.0.1 8125
=>
opentsdb: put counter.metric-name 1419930511 0 source=statsd tag1=val1 tag2=val2
Install
npm install statsd-opentsdb
Working With Statsd Libraries
So, How can I send metrics with tags to statsd, just build an url
:), check our examples.
Working With Other Backends
Only works well with our fork version of statsd: https://github.com/eleme/elestatsd
License
MIT (c) 2014 - 2015 Eleme, Inc.