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

template: anomaly_probabilities
      on: anomalies.probability
  lookup: average -2m foreach *
   every: 1m
    warn: $this > 50
    info: average anomaly probability > 50% for last 2 minutes

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

template: anomaly_flags
      on: anomalies.anomaly
  lookup: sum -2m foreach *
   every: 1m
    warn: $this > 10
    info: count of anomalies > 10 for last 2 minutes