package com.yammer.metrics.guice;

import com.google.inject.Inject;
import com.google.inject.Provider;
import com.yammer.metrics.core.MetricsRegistry;
import com.yammer.metrics.reporting.JmxReporter;

public class JmxReporterProvider implements Provider<JmxReporter>
{
    private final MetricsRegistry metricsRegistry;

    @Inject
    public JmxReporterProvider(MetricsRegistry metricsRegistry) {
        this.metricsRegistry = metricsRegistry;
    }

    @Override
    public JmxReporter get() {
        JmxReporter reporter = new JmxReporter(metricsRegistry);
        reporter.start();
        return reporter;
    }
}

@@ -194,16 +194,55 @@
 orter;%0A%0A
+import java.util.concurrent.TimeUnit;%0A%0A
 public c
@@ -619,16 +619,35 @@
 r.start(
+1, TimeUnit.MINUTES
 );%0A     

Fix the JmxReporterProvider.