this.curatorClientFactory = curatorClientFactory;
// Configure metrics
// TODO (dano): do something with the riemann facade
final MetricRegistry metricsRegistry = new MetricRegistry();
final RiemannSupport riemannSupport = new RiemannSupport(metricsRegistry,
config.getRiemannHostPort(), config.getName(), "helios-master");
riemannFacade = riemannSupport.getFacade();
log.info("Starting metrics");
final Metrics metrics;
if (config.isInhibitMetrics()) {
metrics = new NoopMetrics();
} else {