summaryrefslogtreecommitdiffstats
path: root/health/health.d/anomalies.conf
blob: f27e39fc10d3f27583c2c2f8d40723abc86d814b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# raise a warning alarm if an anomaly probability is consistently above 50%

 template: anomalies_anomaly_probabilities
       on: anomalies.probability
    class: Netdata
component: ML
     type: Errors
   lookup: average -2m foreach *
    every: 1m
     warn: $this > 50
     info: average anomaly probability over the last 2 minutes

# raise a warning alarm if an anomaly flag is consistently firing

 template: anomalies_anomaly_flags
       on: anomalies.anomaly
    class: Netdata
component: ML
     type: Errors
   lookup: sum -2m foreach *
    every: 1m
     warn: $this > 10
     info: number of anomalies in the last 2 minutes