docs: private Counter initAndRegisterCounter(String name) {
          BasicCounter counter = new BasicCounter(MonitorConfig.builder(name).build());
          DefaultMonitorRegistry.getInstance().register(counter);
          return counter;
      }