def _send_textmetrics(metrics):
 data = ([' '.join(map(str, metric)) for metric in metrics] + [''])
 return '\n'.join(data)

def _send_textmetrics ( metrics ) : data = ( [ ' ' . join ( map ( str , metric ) ) for metric in metrics ] + [ '' ] ) return '\n' . join ( data )
format metrics for the carbon plaintext protocol .