static void register(final MetricRegistry metricRegistry,
                         final String name,
                         final Metric metric) {
        Objects.requireNonNull(metricRegistry);
        Objects.requireNonNull(name);
        Objects.requireNonNull(metric);
        LOGGER.debug("Registering metric '{}' of type {}", name, getMetricType(metric));
        metricRegistry.register(name, metric);
    }
Register a metric with the default metric registry
stroom-util/src/main/java/stroom/util/metrics/MetricsUtil.java