def pprint_header(formatter, returned_metrics):
    """
    Return a pretty printed string with the header of the metric streaming
    output, consisting of the name of the metrics including the parameters.
    """
    return formatter.format(*([u'TIMESTAMP:'] + [u'{0}:'.format(m.str_ui(True)) for m in returned_metrics]))