code: Meter register(Meter.Id id, Meter.Type type, Iterable<Measurement> measurements) {
          return registerMeterIfNecessary(Meter.class, id, id2 -> newMeter(id2, type, measurements), NoopMeter::new);
      }
docs: Register a custom meter type.
  
  @param id           Id of the meter being registered.
  @param type         Meter type, which may be used by naming conventions to normalize the name.
  @param measurements A sequence of measurements describing how to sample the meter.
  @return The registry.