code: def reset(self):
          
          logger.debug("{}'s Monitor being reset".format(self))
          instances_ids = self.instances.started.keys()
          self.numOrderedRequests = {inst_id: (0, 0) for inst_id in instances_ids}
          self.requestTracker.reset()
          self.masterReqLatencies = {}
          self.masterReqLatencyTooHigh = False
          self.totalViewChanges += 1
          self.lastKnownTraffic = self.calculateTraffic()
          if self.acc_monitor:
              self.acc_monitor.reset()
          for i in instances_ids:
              rm = self.create_throughput_measurement(self.config)
              self.throughputs[i] = rm
              lm = self.latency_measurement_cls(self.config)
              self.clientAvgReqLatencies[i] = lm
docs: Reset the monitor. Sets all monitored values to defaults.