forked from dream-mo/prom-elastic-alert
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
44 lines (42 loc) · 971 Bytes
/
config.yaml
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
server:
enabled: true
listen_addr: ":8080"
datasource:
type: configmap
config:
namespace: "insight-system"
# TODO(jian): change to list watch way.
configmap_name: "elastic-alert-rules"
#label_selector: "app.kubernetes.io/name=elastic-alert,app.kubernetes.io/instance=elastic-alert,app.kubernetes.io/managed-by=elastic-alert-server"
exporter:
enabled: true
listen_addr: ":9003"
loader:
type: "FileLoader"
config:
rules_folder: "rules"
rules_folder_recursion: true
alert:
alertmanager:
#url: "http://localhost:9003/api/v2/alerts"
enabled: false
url: "http://localhost:9093/api/v2/alerts"
basic_auth:
username: ""
password: ""
generator:
base_url: "http://localhost:9003/alert/message"
expire:
days: 1
redis:
addr: "localhost"
port: 6379
password: ""
db: 0
run_every:
seconds: 10
buffer_time:
minutes: 10
alert_time_limit:
minutes: 10
max_scrolling_count: 5