class_docstr: A meter measures the rate at which a set of events occur.
class_docstr_tok: ["A","meter","measures","the","rate","at","which","a","set","of","events","occur","."]
code: def record(self, value=1, tags: Optional[Dict[str, str]] = None):
      self._count += value
      now = time.time()
      past = now - self._last_time
      if self._count >= _THRESHOLD or past >= _RECORDED_INTERVAL_SECS:
          qps = self._count / past
          self._record(qps, tags)
          self._last_time = now
          self._count = 0
  
imports: import time
  from abc import ABC
  from typing import Dict, Optional, Tuple
label_desc: Use image node_id 2 for calling the AbstractMeter obj's underlying member method code with example usage: obj.record(value, tags) without return types