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