docs: public void registerService(ProvidedServiceInstance serviceInstance, ServiceInstanceHealth registryHealth) {
          // Monitor disabled ProvidedServiceInstance should not have the ServiceInstanceHealth.
          if(serviceInstance.isMonitorEnabled()== false){
              throw new ServiceException(ErrorCode.SERVICE_INSTANCE_HEALTH_ERROR);
          }
          registerService(serviceInstance);
      }