@cryptotaxi247 / netdata-1 / commits / 92515e41a

enable `ml_1min_node_ar` as a default alert (#14687)

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Andrew Maguire committed Sep 13, 2023 at 14:21 UTC 92515e41a52344fb1d346df5b54b953cb9de5055
1 file changed +17 -15
health/health.d/ml.conf
+17 -15
@@ -3,23 +3,25 @@
3 # native anomaly detection here:
4 # https://learn.netdata.cloud/docs/agent/ml#anomaly-bit---100--anomalous-0--normal
5
6 -# examples below are commented, you would need to uncomment and adjust as desired to enable them.
6 +# some examples below are commented, you would need to uncomment and adjust as desired to enable them.
7
8 -# node level anomaly rate example
8 +# node level anomaly rate
9 # https://learn.netdata.cloud/docs/agent/ml#node-anomaly-rate
10 -# if node level anomaly rate is between 1-5% then warning (pick your own threshold that works best via tial and error).
11 -# if node level anomaly rate is above 5% then critical (pick your own threshold that works best via tial and error).
12 -# template: ml_1min_node_ar
13 -# on: anomaly_detection.anomaly_rate
14 -# os: linux
15 -# hosts: *
16 -# lookup: average -1m foreach anomaly_rate
17 -# calc: $this
18 -# units: %
19 -# every: 30s
20 -# warn: $this > (($status >= $WARNING) ? (1) : (5))
21 -# crit: $this > (($status == $CRITICAL) ? (5) : (100))
22 -# info: rolling 1min node level anomaly rate
10 +# if node level anomaly rate is above 1% then warning (pick your own threshold that works best via trial and error).
11 + template: ml_1min_node_ar
12 + on: anomaly_detection.anomaly_rate
13 + class: Workload
14 + type: System
15 +component: ML
16 + os: *
17 + hosts: *
18 + lookup: average -1m of anomaly_rate
19 + calc: $this
20 + units: %
21 + every: 30s
22 + warn: $this > 1
23 + info: rolling 1min node level anomaly rate
24 + to: silent
25
26 # alert per dimension example
27 # if anomaly rate is between 5-20% then warning (pick your own threshold that works best via tial and error).