

def _buffered_plaintext_send_metric(self, base_name, name, value, t, force=False):
    self.batch_count += 1
    self.batch_buffer += '{0}.{1} {2} {3}\n'.format(base_name, name, value, now())
    if (self.batch_count >= self.batch_size):
        self._send_plaintext()

dataset/ETHPy150Open cyberdelia/metrology/metrology/reporter/graphite.py GraphiteReporter._buffered_plaintext_send_metric/original