Dictionary

Renders the value according to the configured dictionary and thresholds.

Dictionary

How it works

Within a Metric or Property, you can define a Dictionary or Ranges, in both cases, to a value (or a threshold) you can assign and Icon, a Label and a Severity.

This filter, other than the value, receive in input also the metric or property definition, and the configured parameters. In this way you can define how to print out the value and decorate it according to the severity, icon and label.

Below are some examples with different configurations.

Filter Variants

The set of predefined filter variants that can be used to format values.

Dictionary

Prints out the value with icon and severity.

Name: dictionary

Input Types: ANY

Output Type: HTML

Parameters

dictionary:{"showIcon": false, "showValue": true, "showLabel": false}

Show Icon

Prints out the icon associated with the value (dictionary or range).

Name: showIcon

Type: BOOLEAN | Optional

Default Value: true

Show Value

Prints out the metric value.

Name: showValue

Type: BOOLEAN | Optional

Default Value: false

Show Label

Prints out the label associated with the value (dictionary or range).

Name: showLabel

Type: BOOLEAN | Optional

Default Value: true