(self, metric)
Process a metric by sending it to graphite
Process a metric by sending it to graphite
Process a metric by sending it to graphite
def process(self, metric):
        """
        Process a metric by sending it to graphite
        """
        # Append the data to the array as a string
        self.metrics.append(str(metric))
        if len(self.metrics) >= self.batch_size:
            self._send()
def process ( self , metric ) : # Append the data to the array as a string self . metrics . append ( str ( metric ) ) if len ( self . metrics ) >= self . batch_size : self . _send ( )