code: public static void registerObject(String id, Object obj) {
      DefaultMonitorRegistry.getInstance().register(newObjectMonitor(id, obj));
    }
docs: Register an object with the default registry. Equivalent to
  {@code DefaultMonitorRegistry.getInstance().register(Monitors.newObjectMonitor(id, obj))}.