Metric Expressions

Creating a Metric Expression 
Adding a Function Node 
Adding an Expression Root 
Copying and Pasting a Subtree
Saving an Expression Metric to a Dashboard 
Saving an Expression to an Alert
Saving an Expression as a Composite Metric - See Saving Composite Metrics 

A metric is the unique combination of dimensions and measures values which are sent to Anodot. To build a metric expression:

  1. Search for the metrics you need to build your expression.
  2. Build an expression based on these metrics.
  3. Use the expression either by saving it to a dashboard, to create an alert, or as composite for later use.

CREATING A METRIC EXPRESSION

        1. Click in the search box to start the metrics definition dialog. Click at any time to clear all values from the box.
        2. The first prompt is for metric Properties. In the drop-down list, select a Property.
        3. In the Values drop-down list, select the value for the selected Property.

          As you continue to add filter/value pairs, the number of filter tokens is briefly shown at the end of the line on the right, for example, +2.

          As you are building the expression, the number of metrics in the data meeting the criteria is shown at the end of the line. You can preview the metric results in the chart.
          What_expression_01.png

        4. To view the results of an expression or function in the chart, click in the node.
        5. Press the ENTER key to complete the expression.
          RawSearch_3.png

TO ADD A FUNCTION NODE

      1. In the expression node for the function, click the Function icon displayed  above the expression node.
      2. In the function box, type the name of the function or select from the drop-down list. The function input line appears.
      3. If the function has mandatory parameters, select from the parameter drop-down list or enter a value on the input line.
      4. If the function has additional parameters, click the down arrow to open the drop-down list and select a parameter value.
        Parameter.png
      5. Continue until you have completed the expression tree for your metric.
      6. Press ENTER to complete the expression.

ADDING AN EXPRESSION ROOT

In Dashboard chart and meter tiles you can add additional expression roots.

          1. Click +Expression. The new node is shown at the left margin of the panel.
          2. Complete the expression as usual.
          3. Click Save.

Although the new expression tree is independent of the first tree, it displays in the same chart as the first tree, but with different scales.

To move nodes within the expression tree:

          1. In an expression or function node node, hover over left/right arrows to display the Move icon. 
          2. Holding down the left mouse button, drag and drop the node.

COPYING AND PASTING A SUBTREE

Any Subtree can be copied from the Metric Expression builder and then pasted to a metric expression used or created elsewhere in Dashboard tiles, Alerts and Composite Metrics.
Note If you copy and get a warning, fix it before saving. See Metric Functions

To Copy & Paste A Subtree

1. Navigate to a Metrics Expression panel from a Dashboard tile, Metrics page, Alerts or Composite Metric.
2. Select the subtree you want to copy.
3. Click the Copy subtree icon.
CopySubtreeTab.png
A message is displayed Copied to Clipboard

4. Navigate to the Dashboard tile, Alert or Composite Metric expression panel where you want to paste the expression or root you copied in step 3.

5. Click Paste Subtree. The copied section is pasted as a new root.
PastedSubstree_2.png

SAVING AN EXPRESSION TO A DASHBOARD

        1. Complete Creating a Metric Expression.
        2. Click Save > Save to Dashboard. The Save to Dashboard dialog box is displayed.
          Save_to_dashboard.png 
        3. Either save to an Existing Dashboard - select from the Select Dashboard drop-down menu
          or click New and type a unique name in the Dashboard name field. .
        4. Enter a Tile Name.
        5. Enter a web link. Converts the Tile name to a hyperlink to the specified link.[Optional
        6. Click OK. The Metric is saved to an existing or new Dashboard, depending on your choice in step 3.  

SAVING AN EXPRESSION TO AN ALERT

          1. Complete Creating a Metric Expression.
          2. Click Save > Create Alert.
          3. Option A:
            If there is no composite function in the metric, the New Alert window is displayed, with the Metric Expression field filled in the the metric expression name.
            EditAlert_active.png

             Note:

            • The Metrics Expression is the metric definition.
            • The Info Name is the name of the Alert, as it appears in the All Alerts window .

            See Alerts Overview

            Option B
            If the metric includes a composite definition, the Save Composite Definition dialog box is displayed.
            SaveCompositeDefinition_new.png

            i. Enter a unique name in the Name field.

            ii. Enter a name in the What are you measuring (what=) field.  [Optional

            iii. Additional Properties Select from the proposed additional common properties of the functions displayed and/or type a new property[ies] which are of specific interest to you. [Optional

            iv. Click OK, to display the New Alert window.
            See Composite Metrics

SAVING AN EXPRESSION AS A COMPOSITE METRIC

See Saving Composite Metrics 

Was this article helpful?
0 out of 0 found this helpful
-->