def scale(requestContext, seriesList, factor):
    for series in seriesList:
        series.name = "scale(%s,%g)" % (series.name, float(factor))
        series.pathExpression = series.name
        for i, value in enumerate(series):
            series[i] = safeMul(value, factor)
    return seriesList
Takes one metric or a wildcard seriesList followed by a constant, and
dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/scale