RootMetricContext.get().startReporting();
@Test public void testReporterCanBeAddedToStartedContext() throws Exception { RootMetricContext.get().startReporting(); ContextStoreReporter reporter = new ContextStoreReporter("testReporter", ConfigFactory.empty()); Assert.assertTrue(reporter.isStarted()); RootMetricContext.get().stopReporting(); }
RootMetricContext.get().startReporting();
RootMetricContext.get().startReporting();
RootMetricContext.get().startReporting();