(raw_data, tsid, dimensions)
return ",".join([metadata[dim] for dim in sorted(dimensions)])
Make a label for a timeseries data point returned from SignalFX

    :param raw_data: a processed data stream from SFX
    :param tsid: the timeseries ID for a datapoint in the SFX stream
    :param dimensions: a list of dimensions to create the label from
    :returns: a comma-separated list of the specified dimension values for this tsid
Make a label for a timeseries data point returned from SignalFX
Make a label for a timeseries data point returned from SignalFX
def _make_ts_label(raw_data, tsid, dimensions):
    """ Make a label for a timeseries data point returned from SignalFX

    :param raw_data: a processed data stream from SFX
    :param tsid: the timeseries ID for a datapoint in the SFX stream
    :param dimensions: a list of dimensions to create the label from
    :returns: a comma-separated list of the specified dimension values for this tsid
    """
    if not dimensions:
        return ""
    metadata = raw_data.get_metadata(tsid)
    return ",".join([metadata[dim] for dim in sorted(dimensions)])
def _make_ts_label ( raw_data , tsid , dimensions ) : if not dimensions : return "" metadata = raw_data . get_metadata ( tsid ) return "," . join ( [ metadata [ dim ] for dim in sorted ( dimensions ) ] )