Value Range Validation

Overview

The Sifflet Value Range Validation monitor template is a field-level validation monitor. It checks if the monitored field contains a numeric value that falls within a predefined range. It fails if any value is outside the specified range.

As Code

Monitor Kind: ValueRange
All range-based monitors are grouped under the ValueRange monitor kind.

range:
Provide the acceptable numeric range in the range parameter, specifying the minimum and maximum values along with inclusivity options.

field:
The field that the monitor checks against the numeric range.

parameters:
  kind: ValueRange
  field: ORDER_TOTAL
  range:
    min: 0
    max: 10
    isMinInclusive: false
    isMaxInclusive: false

Filtering and Grouping

Value Range Validation monitors allow filtering and grouping parameters.

parameters:
  kind: ValueRange
  field: ORDER_TOTAL
  range:
    min: 0
    max: 10
    isMinInclusive: false
    isMaxInclusive: false
  whereStatement: NOT invalid
  groupBy:
    field: REGION

Time Window (Beta)

📘

Beta

Value Range Validation monitors allow time window parameters.

Threshold Settings (Beta)

📘

Beta

Value Range Validation monitors allow threshold configuration.


Did this page help you?