Functions in Metrics Explorer
Add function
-
To add a new function to the graph, click the
(Sigma) icon at the end of the query specification.
-
In the drop-down, either search for a function name, or select an existing function category, and then pick the function name.
See the list of Metric functions.
-
The interface displays the combination of the functions.
Here we have a combination of default
avg()
and defaultdiff()
functions. -
Configure the parameters of the function, if any.
In this example, the new function
diff()
has a configurable parameter.Click on the default measurement of 10 minutes, and select another value from the drop-down.
-
The interface displays the graph with the parameter on the
diff()
section set to 1m instead of default 10 m.
Remove function
Sometimes, you may want to remove a function from a graph. For example, you may want to remove the default aggregation, as described in Remove aggregation.
At other times, you may want to remove a limiting function. In this example, we graph the metric advanced_functions_server_data_fetch_latency_sum
with a Clamp Max 100
, and a Rate Per Minute 10m
. To drop the limiting Clamp Max
function, follow these steps:
-
To remove a function, click
(Remove function) icon, next to the function you want to drop.
-
The interface displays the graph for the metric
advanced_functions_server_data_fetch_latency_sum
with only and aRate Per Minute 10m
function.