forked from statsd/statsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exampleProxyConfig.js
30 lines (25 loc) · 950 Bytes
/
exampleProxyConfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
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
}