- Troubleshooting
- Resources
MEAN_VARIANCE
Detects an anomaly if the metric is not in mean ± n*std
. mean
and std
(standard deviation) are estimated with historical data. The amount of historical data to use is set via lookbackPeriod
.
Inputs
"targetProperty": "current"
: The data on which to perform detection. It should contain the historical data to use for training.
Parameters
name | description | default value |
---|---|---|
| Detection sensitivity. 5 means |
|
| Historical period to use to estimate mean and std. In ISO-8601 format. Requires |
|
| Deprecated. Prefer |
|
| Seasonality to consider when computing mean and variance. Possible values are |
|
| Detect as an anomaly if the metric drop, rise or both directions. |
|
Example
{
"name": "root",
"type": "AnomalyDetector",
"params": {
"type": "MEAN_VARIANCE",
"component.monitoringGranularity": "P1D",
"component.lookbackPeriod": "P14D",
"component.sensitivity": "5",
"component.pattern": "UP",
... # shared parameters
},
"inputs": [
{ # data with historical data for mean/std estimation
"targetProperty": "current",
"sourcePlanNode": "currentDataFetcher",
"sourceProperty": "currentOutput"
}
]
}