private static void registerMeter(
            VespaMicrometerRegistry registry, Set<AutoCloseable> closeables, Supplier<? extends MeterBinder> provider) {
        var binder = provider.get();
        if (binder instanceof AutoCloseable c) closeables.add(c);
        binder.bindTo(registry);
    }
Publishes JVM metrics from the Micrometer metrics library to JDisc's metric system.

@author bjorncs
container-disc/src/main/java/com/yahoo/container/jdisc/metric/MicrometerMetricReporter.java