-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathgrafsy.toml
34 lines (23 loc) · 824 Bytes
/
grafsy.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
# Meaning of params and more please see at https://github.com/leoleovich/grafsy/blob/master/README.md
clientSendInterval = 10
metricsPerSecond = 1000
carbonAddrs = [
"localhost:2003",
"localhost:2004",
]
connectTimeout = 2
localBind = "localhost:3002"
log = "-"
metricDir = "/tmp/grafsy/metrics"
useACL = false
retryDir = "/tmp/grafsy/retry"
# By default this one is equal to clientSendInterval*10
retryKeepSecs = 200
sumPrefix = "SUM."
avgPrefix = "AVG."
minPrefix = "MIN."
maxPrefix = "MAX."
aggrInterval = 60
aggrPerSecond = 100
monitoringPath = "servers.HOSTNAME.software"
allowedMetrics = "^((SUM|AVG|MIN|MAX)[.])?(nagios|powerline|backend|corporatesystems|carbon|games|hwlbs|powerline|servers|switches|network|test|cdn)[.][-a-zA-Z0-9_]+[.][-a-zA-Z0-9_().:/,{}=+#]+(\\s)[-0-9[.]eE+]+(\\s)[0-9]{10}$"