THRESHOLD

Detects an anomaly if a metric is above a maximum threshold or below a minimum threshold.

Inputs

"targetProperty": "current": The data on which to perform detection.

Parameters

namedescriptiondefault value
component.minIf the metric goes below this value, detect an anomaly.-Inf
component.maxIf the metric goes above this value, detect an anomaly.+Inf

Example

{
  "name": "root",
  "type": "AnomalyDetector",
  "params": {
    "type": "THRESHOLD",
    "component.max": "75",
    "component.min": "10",
    ...  # shared parameters
  },
  "inputs": [
    {   # current data
      "targetProperty": "current",
      "sourcePlanNode": "currentData",
      "sourceProperty": "currentOutput"
    }
  ]
}