npm.io
0.2.1 • Published 12 years ago

statsd-udpkv-backend

Licence
—
Version
0.2.1
Deps
2
Vulns
2
Weekly
0
Stars
1
DeprecatedThis package is deprecated

StatsD UDP/KV Backend

This is a pluggable backend for StatsD. It publishes to a remote UDP listener, such as a Splunk server, in key/value format.

wercker status

Counters, Gauges and Timers are supported. Sets are not implemented.

Requirements

Installation

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

Configuration

Add statsd-udpkv-backend to the list of backends in the StatsD configuration file:

{
    backends: ["statsd-udpkv-backend"]
}

Add the following basic configuration information to the StatsD configuration file.

{
    udpkv: {
        host: "myhost",
        port: 50515,
        // addr: "myhost:50515",
        vars: { "Environment": "test" },
    }
}
  • host and port are required. addr host:port format is also ok.
  • vars is an optional map of additional key/value pairs to send along.

Keywords