def aliasByMetric(requestContext, seriesList):
    for series in seriesList:
        series.name = series.name.split('.')[-1].split(',')[0].strip(')')
    return seriesList
Takes a seriesList and applies an alias derived from the base metric name.
dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/aliasByMetric