def process(self, metric):
        """
        Process a metric by sending it to statsd
        """

        self.metrics.append(metric)

        if len(self.metrics) >= self.batch_size:
            self._send()

        Process a metric by sending it to statsd
        
src/diamond/handler/stats_d.py