- Troubleshooting
- Resources
startree-experimental-mean-variance-with-mask
Description
Experimental. Detect 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 with the lookback
property. Aggregation function with 1 operand: SUM, MAX,etc…Events can be used to mask some timeframes.
Flowchart

name | description | default value | |
---|---|---|---|
dataSource |
| – | |
dataset |
| – | |
aggregationColumn |
| – | |
aggregationFunction |
| – | |
monitoringGranularity |
| – | |
timezone | Timezone used to group by time. In TZ-identifier(opens in a new tab) format. For instance, | UTC | |
timeColumn |
| AUTO | |
timeColumnFormat | Required if timeColumn is not AUTO. Learn more(opens in a new tab) |
| |
completenessDelay | The time for your data to be considered complete and ready for anomaly detection. In ISO-8601 format. Example: | P0D | |
queryFilters | Filters to apply when fetching data. Prefix with
|
| |
queryLimit |
| 100000001 |
PREPROCESS
name | description | default value |
---|---|---|
eventMaskerSqlFilter | Used to mask periods based on events. Sql filter to apply when fetching events. Learn more |
|
eventMaskerLookaround | Used to mask periods based on events. Offset to apply on startTime and endTime to look around the timeframe when fetching events. In ISO-8601 format. Example: | P2D |
eventMaskerTypes | Used to mask periods based on events. List of event types to fetch by. Example: | [‘__NO_EVENTS’] |
eventMaskerBeforeEventMargin | Used to mask periods based on events. A period in ISO-8601 format that corresponds to a period that should be included in the event. Example: if beforeEventMargin is | P0D |
eventMaskerAfterEventMargin | Used to mask periods based on events. Same as eventMaskerBeforeEventMargin at the end of the event. | P0D |
eventMaskerStrategy | Strategy to apply the mask. MASK_WHEN_IN_EVENT masks periods where an event happens. MASK_WHEN_OUT_OF_EVENT masks periods where an event does not happen.
| MASK_WHEN_IN_EVENT |
DETECTION
name | description | default value | ||
---|---|---|---|---|
lookback | Historical time period to use to train the model. In ISO-8601 format. Example: | – | ||
sensitivity |
| – | ||
lowerSensitivity | The sensitivity for the lower bounds. The smaller, the less anomaly are detected. If used, upperSensitivity must be set. | – | ||
upperSensitivity | The sensitivity for the upper bounds. The smaller, the less anomaly are detected. If used, lowerSensitivity must be set. | – | ||
upperBoundMultiplier | Factor applied to the upper bound, such that | – | ||
lowerBoundMultiplier | Factor applied to the lower bound, such that | – | ||
pattern |
|
| ||
seasonalityPeriod | Seasonality to consider when computing mean and variance. Possible values are
| PT0S | ||
metricMinimumValue | If set, the predicted value of the detector and the lower/upper bounds cannot be smaller than the given value. For instance, set it to 0 if your metric cannot have a negative value. | – | ||
metricMaximumValue | If set, the predicted value of the detector and the lower/upper bounds cannot be bigger than the given value. For instance, set it to 100 if your metric cannot be bigger than 100.
| – |
name | description | default value |
---|---|---|
daysOfWeek | Used to ignore anomalies that happen at specific time periods. A list of days. Anomalies happening on these days are ignored if timeOfWeekIgnore is true. Example: | [] |
hoursOfDay | Used to ignore anomalies that happen at specific time periods. A list of hours. Anomalies happening on these hours are ignored. Example: | [] |
dayHoursOfWeek | Used to ignore anomalies that happen at specific time periods. A mapping of
| {}
|
name | description | default value |
---|---|---|
sqlFilterStatement | Sql statement to ignore anomalies based on values returned by the detector. If the statement evaluates to true, the anomaly is ignored. Available columns: | false |
name | description | default value |
---|---|---|
thresholdFilterMin | Used to ignore anomalies that don’t meet the thresholdFilter min and max. Example: set | -1 |
thresholdFilterMax | Used to ignore anomalies that don’t meet the thresholdFilter min and max. Example: set | -1 |
thresholdFilterMetrics | A list of metrics to apply the threshold filter on. For instance, if set to | – |
name | description | default value |
---|---|---|
guardrailMetricMin | Used to ignore anomalies that don’t meet the guardrail threshold. Minimum threshold of the guardrail metric. If | -1 |
guardrailMetricMax
| Used to ignore anomalies that don’t meet the guardrail threshold. Maximum threshold of guardrailMetric. If | -1 |
guardrailMetric | Used to ignore anomalies that don’t meet the guardrail threshold. Metric to use as a threshold guardrail. Example: | COUNT(*) |
name | description | default value | |
---|---|---|---|
mutabilityPeriod | Use if your data is mutable. ThirdEye will maintain the detection results up to date on the mutable period. For instance, if your last 10 days of data is mutable, set | P0D | |
| For detection replay when data is mutable. If the percentage difference between an existing anomaly and a new anomaly on the same time frame is above this threshold, renotify. Combined with | -1 | |
reNotifyAbsoluteThreshold | For detection replay when data is mutable. If the absolute difference between an existing anomaly and a new anomaly on the same time frame is above this threshold, renotify. Combined with | -1 |
Anomaly merger
name | description | default value |
---|---|---|
mergeMaxGap | Maximum duration of an anomaly merger. At merge time, if an anomaly merger would get bigger than this limit, the anomalies are not merged. In ISO-8601 format. Example: |
|
mergeMaxDuration | Maximum gap between 2 anomalies for anomalies to be merged. In ISO-8601 format. Example: |
|
RCA
name | description | default value | |
---|---|---|---|
rcaAggregationFunction |
|
| |
rcaIncludedDimensions | List of the dimensions (columns in the dataset) to use in RCA drill-downs. If not set or empty, all dimensions of the table are used. Learn more(opens in a new tab). | [] | |
rcaExcludedDimensions
| List of dimensions (columns in the dataset) to ignore in RCA drill-downs. If not set or empty, all dimensions of the table are used. rcaExcludedDimensions and rcaIncludedDimensions cannot be used at the same time. | [] | |
rcaEventTypes | A list of type to filter on for RCA. Only events that match such types will be shown in the RCA related events tab. Learn more(opens in a new tab). | [] | |
rcaEventSqlFilter | A Sql filter for RCA events. Only events that match the filter will be shown in the RCA related events tab. Learn more(opens in a new tab).
|
|