Functions in Metrics Explorer

You can change the function that plots the metric, add a new function, or remove functions entirely.

Add function

  1. To add a new function to the graph, click the Sigma (Sigma) icon at the end of the query specification.

    metrics explorer function add
  2. 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.

    metrics explorer function select
  3. The interface displays the combination of the functions.

    Here we have a combination of default avg() and default diff() functions.

    metrics explorer function result
  4. 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.

    metrics explorer function parameter select
  5. The interface displays the graph with the parameter on the diff() section set to 1m instead of default 10 m.

    metrics explorer function parameter result

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:

  1. To remove a function, click Remove function (Remove function) icon, next to the function you want to drop.

    metrics explorer function remove select
  2. The interface displays the graph for the metric advanced_functions_server_data_fetch_latency_sum with only and a Rate Per Minute 10m function.

    metrics explorer function remove result