uber-archive / node-statsd-client

Node.js client for statsd
ISC License
28 stars 9 forks source link

[DNS recovery]: support a seed list #11

Closed Raynos closed 9 years ago

Raynos commented 10 years ago

This change allows us to give a seed list of IPs to the DNS resolver.

This means that if we send packets before the DNS is resolved or we are unable to resolve the DNS we will fall back to a static list of IPs.

Worst case scenario if DNS fails is that we hope the static IPs checked into the configuration in the application are actually statsd servers.

cc @sh1mmer @kriskowal @Matt-Esch

Raynos commented 10 years ago

This depends on https://github.com/uber/node-statsd-client/pull/7

sh1mmer commented 10 years ago

This seems reasonable. lgtm.

Raynos commented 9 years ago

merging manually.