-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathconfigs.toml
53 lines (43 loc) · 1.61 KB
/
configs.toml
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
# =============================== Job Queue ===================================
[beanstalkd]
host = "0.0.0.0"
port = 11300
tube = "bell"
# ================================ Storage ====================================
[ssdb]
host = "0.0.0.0"
port = 8888
[ssdb.allSeries]
hashmap = "bell.allseries" # the hashmap to store all series names and status
[ssdb.series.zsets] # zsets to store datapoints
maxSize = 43200 # 5 * 6 * 60 * 24 = 5 days
namePrefix = "bell."
# ================================ Listener ===================================
[listener]
port = 2024
[listener.patterns]
# must pass at least one of the matches patterns and dont match any ignores
matches = ["*"]
ignores = ["statsd.*"]
# ================================ Analyzer ===================================
[analyzer]
strict = true # if strict mode
periodicity = 86400 # for all series, 86400 = 24 * 60 * 60 = 1 day
filterOffset = 0.01 # filter all points within `periodicity * offset`
minSeriesSize = 50 # analyze only if series's size is big than this value
severityTimeRecent = 3600 # calculate anomalous serverity in recent certain time
# ================================ WebApp =====================================
[webapp]
port = 8989
root = "" # set this if your webapp serves in a sub-directory.
# ================================ Hooks =======================================
[hooks]
enable = false
modules = ["../hooks/hipchat"]
[hooks.hipchat]
roomId = 12345
token = "your-hipchat-api-token"
weburl = "http://bell.example.com"
# notify only if at least <minCount> anomalies were found in last <recent> time
recent = 300 # 5min
minCount = 6