Turn anomaly detection on or off
set_anomaly_detectionUse this when the user wants FlareWarden to alert on unusual response times of a site, or unusual run times of a cron job, or to stop doing so or change how sensitive it is. Returns whether it is on, its sensitivity, and its recent anomalies. Turning it on costs one monitor; turning it off frees it. It learns for 3 days before reporting. Not for ordinary up or down alerts, which every monitor sends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site, by id, name or part of its URL. | |
| check | No | A cron job on the site, by id or name; leave out for the site's response times. | |
| enabled | Yes | True to turn it on (or change sensitivity), false to turn it off. | |
| sensitivity | No | low (fewer alerts), normal or high. |