UNPKG

932 BMarkdownView Raw
1# Statsd Cluster Proxy
2
3Statsd Cluster Proxy is a udp proxy that sits infront of multiple statsd instances.
4
5Create a proxyConfig.js file:
6
7 `cp exampleProxyConfig.js proxyConfig.js`
8
9Once you have modified your config file run:
10
11 `node proxy.js proxyConfig.js`
12
13
14It uses a consistent hashring to send the unique metric names to the same statsd instances so that
15the aggregation works properly.
16
17It handles a simple health check that dynamically recalculates the hashring if a statsd instance goes offline.
18
19Config Options are documented in the [exampleProxyConfig.js][exampleProxyConfig.js]
20
21## Notes
22
23In your statsd configuration make sure to have the following configuration set: `deleteIdleStats: true`
24
25We plan to remove this restriction in the near future: [#pull/348][pull_348]
26
27[exampleProxyConfig.js]: https://github.com/etsy/statsd/blob/master/exampleProxyConfig.js
28[pull_348]: https://github.com/etsy/statsd/pull/348