public synchronized void addConsoleReporter(final long reportIntervalInMS) {
        if (null != consoleReporter) {
            log.debug("Metrics ConsoleReporter already active; not creating another");
            return;
        }

        consoleReporter = ConsoleReporter.forRegistry(getRegistry()).build();
        consoleReporter.start(reportIntervalInMS, TimeUnit.MILLISECONDS);

        log.info("Configured Metrics ConsoleReporter configured with report interval={}ms", reportIntervalInMS);
    }
Create a {@link ConsoleReporter} attached to the {@code MetricsRegistry}.

@param reportIntervalInMS milliseconds to wait between dumping metrics to the console
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/util/MetricManager.java