DataDog/dd-agent — pull request #1183 by miketheman (2014-10-30 12:31:15+00:00)
Title: use better replica detection method

Fixes #1182
See there for fuller description.