code: def reset(self):
           Reset the state as new """
          self.last_usage = None
          self.last_collect = None
          self.last_metrics = None
          self.snapshot_countdown = 0
          self.run()
docs: Reset the state as new