def METHOD_NAME(self):
    if not self.log:
        return
    if self.log[0][0] - self.log[-1][0] > 60:
        # Time has gone the wrong way by a long time. Drop the table.
        self.log = []
        return
    min_ts = time.time() - self._MAX_AGE_SECS
    for i, e in enumerate(self.log):
        if e[0] >= min_ts:
            break
    # I think this should be safe even if we're serving /metrics since
    # I'm replacing not modifying the log.
    self.log = self.log[i:]