Data Queries

The Data panel is structured around queries. Each query follows a sentence-like format, starting with a selection of the data type of the query. Many fields in the Data panel support typeahead functionality.

In this example, you want to know errors per minute for the nodes in an application.

  1. Select a value from the Show me data for dropdown based on the data type you wish to display.In this example, select Applications.
  2. The subsequent inputs shown in the Data panel are specific to the data type you selected in the previous step. In this example, use the Application dropdown to select the application for which you want to drill down the data.
  3. The next dropdown is Metric. The Metric dropdown changes based on the data type. For example, the node displays two more inputs before you select the metric.
  4. Select the metric you wish to display on the widget. You can also click the vertical ellipsisto set the baseline, change the default metric function, set the limit, and change the default chart type.

    When you select the Function query option, Value is selected by default. You can change it to view your desired output.

    The Function dropdown contains the following options:
    • Value: Contains the average or the sum across the time range depending on the metric
    • Minimum: Minimum value, only available for averaged metrics
    • Maximum: Maximum value, only available for averaged metrics
    • Sum: Aggregated value of the metric over the time range
    • Count: Count of the observed values over the time range
    • Current: Sum of the most recent minute's metric data values across all the included nodes
After you have specified valid inputs for all fields in the query, the widget is updated on the canvas and shows the query result.