def act(self):
        key = self.name
        if not key:
            self.warning(logger, 'no valid tracking name set')
            return
        newname = self.get('newname')
        if key in monitor.trackers and newname:
            monitor.trackers[newname] = monitor.trackers[key]
            del monitor.trackers[key]
dataset/ETHPy150Open xumiao/pymonk/monk/roles/monitor.py/RenameTracker.act/original