docs: public static void register(MetricsRegistry metricsRegistry) {
          checkNotNull(metricsRegistry, "metricsRegistry");
  
          GcStats stats = new GcStats();
          metricsRegistry.scheduleAtFixedRate(stats, PUBLISH_FREQUENCY_SECONDS, SECONDS, INFO);
          metricsRegistry.scanAndRegister(stats, "gc");
      }