In case the metric is of type numeric, you can additionally specify the Data Type, which can be:
CONTINUOUS: The metric represents a physical measure that is continuously measured and saved (e.g., a temperature). Therefore, the metric can take on any numerical value.
DISCRETE: The metric is a code that represents a specific state. Therefore, the metric can take any numeric value within a predefined set (e.g., 1,2,3).
Depending on the chosen Data Type, a Dictionary (DISCRETE) or Thresholds (CONTINUOUS) in a range of values can be defined.
Dictionary
In case of DISCRETE data type, you can define a dictionary to map values.
By clicking Add Dictionary Item, a new item is added to the list, and for each item you can define:
Value: the mapped value.
Label: the label to be displayed as an alternative to the value.
Severity: the severity of the item used to color the values or labels.
Icon: the Material Icon to be displayed next to the label or value.
For more details about how to display values with a dictionary, refer to the Dictionary filter.
Thresholds
In case of CONTINUOUS data type, other than, the minimum and maximum values, you can define the Thresholds.
By clicking Add Threshold, a new threshold is added to the list, and for each threshold you can define:
Max Value: the maximum value of the threshold.
Label: the label to be displayed as an alternative to the value in case it falls within the threshold.
Severity: the severity of the threshold used to color the values or labels.
Icon: the Material Icon to be displayed next to the label or value in case the value is in this threshold.
For more details about how to display values with thresholds, refer to the Dictionary filter.
Thresholds are then also used by widgets to highlight the value, for instance, the Value widget.