Max count
Data quality rule that verifies if a data quality check reading is lesser or equal a maximal value.
Parameters
This checks has one parameter that should be configured for each alert:
low
:
rule threshold for a low severity (1) alertmax_value
: float
maximal accepted value for theactual_value
returned by the sensor (inclusive)
medium
:
rule threshold for a medium severity (2) alertmax_value
: float
maximal accepted value for theactual_value
returned by the sensor (inclusive)
high
:
rule threshold for a high severity (3) alertmax_value
: float
maximal accepted value for theactual_value
returned by the sensor (inclusive)
Example
The following example shows how to implement max_count
rule for a check.
The assigned severity depends on sensor result (see YAML configuration below):
result <= 12.0
, the check is passed: valid result12.0 < result <= 24.0
the severity is low (1)24.0 < result <= 36.0
the severity is medium (2)36.0 < result
, the severity is high (3)