Package org.springside.modules.metrics.reporter

Examples of org.springside.modules.metrics.reporter.GraphiteReporter


  public void start() {
    Slf4jReporter slf4jReporter = new Slf4jReporter();
    scheduler = new ReportScheduler(MetricRegistry.INSTANCE, slf4jReporter);

    if (graphiteEnabled) {
      GraphiteReporter graphiteReporter = new GraphiteReporter(new InetSocketAddress("localhost", 2003));
      scheduler.addReporter(graphiteReporter);
    }

    scheduler.start(10, TimeUnit.SECONDS);
View Full Code Here


  }

  @Test
  @Ignore("manual test")
  public void graphiteReporter() {
    runReport(new GraphiteReporter(new InetSocketAddress("localhost", 2003)));
  }
View Full Code Here

TOP

Related Classes of org.springside.modules.metrics.reporter.GraphiteReporter

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.