https://github.com/statsd/statsd
Raw File
Tip revision: fd90d3027f22b4908fa74a7cef6be34c70211904 authored by Daniel Schauenberg on 06 December 2013, 15:48:34 UTC
bump to v0.7.0
Tip revision: fd90d30
exampleProxyConfig.js
/*

Required Variables:

  port:             StatsD Cluster Proxy listening port [default: 8125]
  nodes:            list of StatsD instances
     host:          address of an instance of StatsD
     port:          port that this instance is listening on
     adminport:     port that this instance is listening on for the admininterface

Optional Variables:

  udp_version:      defines if the address is an IPv4 or IPv6 address ['udp4' or 'udp6', default: 'udp4']
  host:             address to listen on over UDP [default: 0.0.0.0]
  checkInterval:    health status check interval [default: 10000]
  cacheSize:        size of the cache to store for hashring key lookups [default: 10000]

*/
{
nodes: [
{host: '127.0.0.1', port: 8129, adminport: 8126},
{host: '127.0.0.1', port: 8127, adminport: 8128},
{host: '127.0.0.1', port: 8129, adminport: 8130}
],
udp_version: 'udp4',
host:  '0.0.0.0',
port: '8125',
checkInterval: 1000,
cacheSize: 10000
}
back to top