(self, metric)
Queue a metric.  Flushing queue if batch size reached
Queue a metric.  Flushing queue if batch size reached
Queue a metric . Flushing queue if batch size reached
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()
def process ( self , metric ) : if self . _match_metric ( metric ) : self . metrics . append ( metric ) if self . should_flush ( ) : self . _send ( )