Returns the square root of each data value described by the expression.
|expression||Expression describing the values to find the square root of.|
sqrt() function produces data points by taking the square root of the data points returned by the input expression.
expressionis a constant, then
sqrt()returns the square root of that constant.
expressiondescribes one or more time series, then
sqrt()returns a new time series for each input time series. Each value in a new time series is obtained by taking the square root of the value of the corresponding point in the input time series.
In this example, your chart shows the values in the metric
~sample.process.num for a single source.
And here we see the result of applying the
sqrt function to the expression.
Here we see what happens when the input expression returns data points for 2 sources, app-14 and db-8. Notice that
sqrt returns two time series, one for each series returned by the expression.