Package com.spotify.helios.servicescommon

Examples of com.spotify.helios.servicescommon.ManagedStatsdReporter


      log.info("Not starting metrics");
      metrics = new NoopMetrics();
    } else {
      log.info("Starting metrics");
      metrics = new MetricsImpl(metricsRegistry);
      environment.lifecycle().manage(new ManagedStatsdReporter(config.getStatsdHostPort(),
          "helios-agent", metricsRegistry));
      environment.lifecycle().manage(riemannSupport);
    }

    this.zooKeeperClient = setupZookeeperClient(config, id);
View Full Code Here


      metrics = new NoopMetrics();
    } else {
      metrics = new MetricsImpl(metricsRegistry);
      metrics.start();
      environment.lifecycle().manage(riemannSupport);
      environment.lifecycle().manage(new ManagedStatsdReporter(config.getStatsdHostPort(),
          "helios-master", metricsRegistry));
    }

    // Set up the master model
    this.zooKeeperClient = setupZookeeperClient(config);
View Full Code Here

TOP

Related Classes of com.spotify.helios.servicescommon.ManagedStatsdReporter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.