Skip to content

Commit

Permalink
start the polling reporter; hard-code the graphite reports for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Mar 22, 2013
1 parent 63162f2 commit 29150da
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -11,7 +11,10 @@
public class ReporterFactory {

public Reporter registerGraphiteReporter(Graphite g, String prefix) {
return new GraphiteReporter(RegistryService.getMetrics(), g, Clock.defaultClock(), prefix, TimeUnit.SECONDS, TimeUnit.MILLISECONDS, MetricFilter.ALL);
GraphiteReporter r = new GraphiteReporter(RegistryService.getMetrics(), g, Clock.defaultClock(), prefix, TimeUnit.SECONDS, TimeUnit.MILLISECONDS, MetricFilter.ALL);

r.start(1, TimeUnit.MINUTES);
return r;
}

public static ReporterFactory buildDefaultReporterFactory() {
Expand Down

0 comments on commit 29150da

Please sign in to comment.