docs: @Deprecated
    public static void monitorMeter(Registry registry, Meter meter) {
      ConcurrentMap<Id, Object> state = registry.state();
      Object c = Utils.computeIfAbsent(state, meter.id(), MeterState::new);
      if (!(c instanceof MeterState)) {
        Utils.propagateTypeError(registry, meter.id(), MeterState.class, c.getClass());
      } else {
        MeterState t = (MeterState) c;
        t.add(meter);
        long delay = registry.config().gaugePollingFrequency().toMillis();
        t.schedule(registry, null, delay);
      }
    }