This is an automated email from the ASF dual-hosted git repository.
aaronucsd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 5afbebe [TE] frontend - update default yaml (#3599)
5afbebe is described below
commit 5afbebe5252d4aa66bcd5e50856a225011bc1c1c
Author: Jihao Zhang <[email protected]>
AuthorDate: Mon Dec 10 15:58:10 2018 -0800
[TE] frontend - update default yaml (#3599)
* [TE] frontend - change default yaml
* comments
---
thirdeye/thirdeye-frontend/app/utils/constants.js | 74 ++++++++++++++++-------
1 file changed, 53 insertions(+), 21 deletions(-)
diff --git a/thirdeye/thirdeye-frontend/app/utils/constants.js
b/thirdeye/thirdeye-frontend/app/utils/constants.js
index 411386f..cc00fbc 100644
--- a/thirdeye/thirdeye-frontend/app/utils/constants.js
+++ b/thirdeye/thirdeye-frontend/app/utils/constants.js
@@ -10,34 +10,66 @@ export default {
};
-export const yamlAlertProps = `name: alert_name
+export const yamlAlertProps = `# give a name for this detection
+detectionName: name_of_the_detection
+# the metric to detect the anomalies
metric: metric_name
+# the data set name for this metric
dataset: dataset_name
+# ThirdEye pipeline type. Just fill in Composite
pipelineType: Composite
+
+# (Optional) Config dimension exploration
dimensionExploration:
+ # Create an alert for each dimension value in the dimension
dimensions:
- - continent
- - browserName
+ - dimensionName
+
+ # (Optional) only create alert for the dimension value if the contribution
to
+ # overall metric is above the threshold
minContribution: 0.05
-filters:
- continent:
- - Europe
- - Asia
- os_name:
- - android
- browserName:
- - chrome
- - safari
+
+ # (Optional) only create alert for the top k dimension values
+ k: 10
-anomalyDetection:
-- detection:
- - type: BASELINE
- change: 0.5
+# (Optional) Filter the metric by
+filters:
+ dimensionName1:
+ - dimensionValue1
+ - dimensionValue2
+ dimensionName2:
+ - dimensionValue3
+
+# configure rules of anomaly detection
+rules:
+# configure the first rule
+- # configure the detection rule. ThirdEye will detect anomalies based on the
+ # detection rules.
+ detection:
+ # give a name for the detection rule
+ - name: detection_rule_1
+ # ThirdEye rule type
+ type: PERCENTAGE_RULE
+ # parameters for this rule
+ params:
+ offset: wo1w
+ change: 0.1
+
+ # (Optional) configure the exclusion rule. (Exclude the anomalies you don't
+ # want to see but detected by the detection rule above)
filter:
- - type: BUSINESS_RULE_FILTER
- siteWideImpactThreshold: 0.2
+ - name: filter_rule_1
+ type: ABSOLUTE_CHANGE_FILTER
+ params:
+ threshold: 10000
+# configure more rule if you'd like to
- detection:
- - type: THRESHOLD
- filter:
- - type: THRESHOLD_RULE_FILTER`;
+ - name: detection_rule_2
+ type: ABSOLUTE_CHANGE_RULE
+ params:
+ offset: wo1w
+ change: 1000000
+ pattern: UP
+
+`;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]