--- title: "Dictionary and Thresholds" slug: "dictionary-and-thresholds-1" updated: 2025-04-11T13:50:46Z published: 2025-04-11T13:50:46Z canonical: "learn.servitly.com/dictionary-and-thresholds-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://learn.servitly.com/llms.txt > Use this file to discover all available pages before exploring further. # Dictionary and Thresholds 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). ![](https://cdn.document360.io/6759e9c9-3ce3-49df-965a-7231d2d9a10a/Images/Documentation/image(87).png) 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. ![](https://cdn.document360.io/6759e9c9-3ce3-49df-965a-7231d2d9a10a/Images/Documentation/image(88).png) By clicking *Add Dictionary Item*, a new item is added to the list, and for each item you can define: - *Value*: the mapped value. In case the metric is BOOLEAN you must use `true` or `false` as values. - *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](https://fonts.google.com/icons) to be displayed next to the label or value. For more details about how to display values with a dictionary, refer to the [Dictionary](/docs/dictionary-filter) filter. # Thresholds In case of *CONTINUOUS* data type, other than, the minimum and maximum values, you can define the Thresholds. ![](https://cdn.document360.io/6759e9c9-3ce3-49df-965a-7231d2d9a10a/Images/Documentation/image(89).png) 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](https://fonts.google.com/icons) 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](/docs/dictionary-filter) filter. Thresholds are then also used by widgets to highlight the value, for instance, the [Value](/docs/value-widget) widget.