code: def process(self, metric):
          
          if self._match_metric(metric):
              self.metrics.append(metric)
          if self.should_flush():
              self._send()
docs: Queue a metric.  Flushing queue if batch size reached