The threshold type specifies whether the thresholdValue is to be interpreted as a lower bound or an upper bound, i.e. whether the alert fires when the value falls below expected_min or goes above expected_max.

EXPECTED_MIN Note that this field will only trigger alerts if the workflow specifying it runs at least once in 24 hours (which is our in-memory retention period for monarch streams). Also note that aggregationPeriod for this alert configuration must be less than 24 hours.