-
Notifications
You must be signed in to change notification settings - Fork 8
/
example.yml
56 lines (54 loc) · 915 Bytes
/
example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
- name: Min Foo
type: influxdb
function: min
limit: 10
query: select * from "foo.counter"
interval: 5
timeshift: 1h
trigger:
operator: gt
value: 8
notifiers:
- slack
- foobar
- name: Max Foo
type: influxdb
function: max
limit: 10
query: select * from "foo.counter"
interval: 5
timeshift: 1h
trigger:
operator: gt
value: 8
notifiers:
- slack
- foobar
- name: Incoming Foo
type: influxdb
function: average
timeshift: 1h
limit: 10
query: select * from "foo.counter"
notifiers:
- slack
# - hipchat
# - foobar
interval: 5 # in seconds
trigger:
operator: gt
value: 10
- name: Not Enough Foo
type: influxdb
function: average
timeshift: 1h
limit: 10
interval: 10
query: select * from "foo.counter"
notifiers:
# - slack
# - hipchat
# - foobar
trigger:
operator: lt
value: 10