Nav

General Settings for Basic and Advanced Data Queries

General Settings for Basic and Advanced Data Queries

General settings include basic and advanced queries (or modes) for configuring time-series data. Both configurations share fields for the title and a short description.

Example: Basic Configuration
Basic and Advanced Mode Settings

Title

Title to display in the UI. Defaults to Panel Title.

Description

Short description to display in the UI when users hover over the information (i) icon.

Other settings are specific to the setting mode (basic or advanced).

Basic Mode

In the General configuration tab, a Basic query selects a single metric for a resource (a Mule app) in a given environment.

Example: Basic Configuration
Basic Mode Settings

Metric

The dropdown menu includes these types of metrics:

  • Inbound response metrics and averages

  • JVM metrics

  • Outbound response metrics and averages

For a list of basic metrics, see Basic Mode Metrics

Environment

Your Mule app environments.

Resource

A Mule app that is deployed in CloudHub (sometimes called a CloudHub app in the UI).

After you complete your configuration, you can click Save Changes. To exit the configuration and return to the dashboard, simply click the X.

Advanced Mode

In the General configuration tab, Advanced settings support one or more fine-tuned queries for your chart.

It is important to note that an advanced configuration will be partially removed if you switch back to the basic configuration area.

Example: Advanced  Configuration
Advanced Mode Settings

From

Lists JVM and Mule app properties (such as jvm.memory and app_inbound_metric) that you can add to your chart.

Note that the field provides matching suggestions when you type in a character. For example, jvm.c will produce a list of all values that contain those characters (such as jvm.classloading and jvm.cpu.operatingsystem).

For a list of advanced metrics, see Advanced Mode Metrics

Where

Supports conditional logic for filtering the From data source you selected.

  • You can select one or more filters tags (such as app_id, env_id, org_id, worker_id). Example: Where env_id = Sandbox.

  • Available operators include =, !=, <>, <, and >.

  • You can also construct a query that contains multiple filtering expressions by using logical AND or OR operators between the expressions.

Select

For creating a function that selects a field (such as heap_committed,heap_total, or heap_used) from the From data (such as jvm.memory) and applies an operation to it (such as the mean of the heap_total). You can add one or more field settings.

Select Options

Group By

For grouping the data by a selected time interval (such as $__interval, 1s, 10m, 1h), filter tag (such as tag(env_id)), and fill options (such as none, null, 0, previous, linear).

Valid values and arguments:

  • time($__interval) for the automated time interval setting, or you can specify time intervals of 1s, 10s, 1m, 5m, 10m, 15m, or 1h.

  • fill() where valid values are none, null, 0, previous, linear.

  • LIMIT: Numeric value (N) used to limit the result to the first N data points (combined series and timestamp values) returned by a query.

  • SLIMIT: Numeric value (N) used to return the all data points (combined series and timestamp values) from the first N series returned by the query.

  • ORDER BY time DESC: Returns results in descending time order.

Alias By

You can create a label for your metric using a literal string (such as my string) or supported variables (for example, $tag_worker_id or $tag_env_id).

After you complete your configuration, you can click Save Changes. To exit the configuration and return to the dashboard, simply click the X.