Check Thresholds
Definition
Thresholds to use for the $__threshold variable in the expression field.
By default degraded and failed are absolute values. The optional baseline and
changeGate sub-objects are detector configuration: the presence of one of them is the
discriminator that changes how degraded and failed are interpreted.
- Neither present:
degradedandfailedare absolute values compared against the expression's own value, as they always have been. baselinepresent:degradedandfailedare re-interpreted as z-score cutoffs — multiples of the watched entity's own typical spread away from its prediction — rather than as absolute values. Each configured cutoff must be greater than0and less than1000000, the detector score cap.changeGatepresent:degradedandfailedstay absolute, but the check additionally requires the value to have become materially worse than it recently was before it fails.
At most one of baseline and changeGate may be set. A request setting both is rejected
with a 400; the mutual exclusion is enforced by the server rather than by this schema,
matching the existing treatment of metric versus servicesMetricQuery.
The threshold value that defines when the check is in a degraded state. The value will be
interpolated into the expression field as $__threshold.
Interpreted as a z-score cutoff rather than an absolute value when baseline is set.
The threshold value that defines when the check is in a failed state. The value will be
interpolated into the expression field as $__threshold.
Interpreted as a z-score cutoff rather than an absolute value when baseline is set.
Compare the check rule's observed quantity against its own past instead of against an
absolute value. Setting this re-interprets degraded and failed as z-score cutoffs.
Mutually exclusive with changeGate.
Require the observed quantity to have changed materially compared to a recent window
before the absolute degraded / failed thresholds are allowed to fail the check.
degraded and failed remain absolute values.
Mutually exclusive with baseline.
Used by 1
These schemas and endpoints reference this type directly.