statsdmetrics/client/tcp.py
def flush(self):
        """Send buffered metrics in batch requests over TCP"""
        # type: () -> TCPBatchClient
        while len(self._batches) > 0:
            self._socket.sendall(self._batches[0])
            self._batches.popleft()
        return self
def flush(self):
        """Send buffered metrics in batch requests over TCP"""
        # type: () -> TCPBatchClient
        while len(self._batches) > 0:
            self._socket.sendall(self._batches[0])
            self._batches.popleft()
        return self
Send buffered metrics in batch requests over TCP