Skip to main content

Try a rule against a historical stretch

POST 

/alarm-rules/backtest

Replays a rule over a historical period and returns the alarms that would have come into existence, including the effect of the debouncing. The rule does not have to be stored. Deliberately an aid for choosing thresholds and delays and NOT a historical record - the evaluation uses the properties that are valid today, so it is not suitable as evidence towards third parties. Responds 400 when the rule cannot be evaluated, the period cannot be resolved, or the backtest would cost more than allowed - computation (ticks of the schedule times bound objects, weighted with the data points per window) or data points to read. That last refusal carries backtestLimit with the longest period within the bound (HET-2222).

Request​

Responses​

OK