-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.json.template
61 lines (61 loc) · 1.38 KB
/
config.json.template
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
57
58
59
60
61
{
"port": 5000,
"node_name": "node01",
"check_interval": 300,
"yarn": {
"api_hosts": [
"10.11.10.21:8088",
"10.11.10.22:8088"
]
},
"apps": [
{
"app_name": "waterdrop-app2",
"start_cmd": "test_cmd_not_exist",
"app_num": 1,
"check_type": "spark",
"check_options": {}
},
{
"app_name": "waterdrop-app3",
"start_cmd": "test_cmd_not_exist",
"app_num": 1,
"check_type": "spark",
"check_options": {
"alert_level": "WARNING",
"max_delayed_batch_num": 10,
"max_delayed_time": 600
}
},
{
"app_name": "not_running_app",
"start_cmd": "test_cmd_not_exist",
"app_num": 0,
"check_type": "spark",
"check_options": {},
"active": false
}
],
"alert_manager": {
"emails": {
"auth_username": "username",
"auth_password": "password",
"smtp_server": "smtp.163.com",
"sender": "[email protected]",
"receivers": ["", ""],
"routes": {
"match": {
"level": ["WARNING", "ERROR"]
}
}
},
"webhook": {
"url": "http://api.webhook.interestinglab.org/alert",
"routes": {
"match": {
"level": ["ERROR"]
}
}
}
}
}