def squareRoot(requestContext, seriesList):
    """
    Takes one metric or a wildcard seriesList, and computes the square root
    of each datapoint.

    Example::

        &target=squareRoot(Server.instance01.threads.busy)

    """
    for series in seriesList:
        series.name = "squareRoot(%s)" % (series.name)
        for i, value in enumerate(series):
            series[i] = safePow(value, 0.5)
    return seriesList

    Takes one metric or a wildcard seriesList, and computes the square root
    of each datapoint.

    Example::

        &target=squareRoot(Server.instance01.threads.busy)

    
graphite_api/functions.py