-
Notifications
You must be signed in to change notification settings - Fork 52
/
freno.conf.sample.json
37 lines (37 loc) · 1 KB
/
freno.conf.sample.json
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
{
"ListenPort": 9777,
"DefaultRaftPort": 9888,
"RaftDataDir": "/var/lib/freno",
"RaftBind": "10.0.0.1",
"RaftNodes": ["10.0.0.1", "10.0.0.2", "10.0.0.3"],
"MemcacheServers": [],
"Stores": {
"MySQL": {
"User": "${mysql_user_env_variable}",
"Password": "${mysql_password_env_variable}",
"MetricQuery": "select unix_timestamp(now(6)) - unix_timestamp(ts) as lag_check from meta.heartbeat order by ts desc limit 1",
"ThrottleThreshold": 1.0,
"Clusters": {
"prod4": {
"ThrottleThreshold": 0.8,
"HAProxySettings": {
"Host": "my.haproxy.mydomain.com",
"Port": 1001,
"PoolName": "my_prod4_pool"
}
},
"local": {
"User": "msandbox",
"Password": "msandbox",
"StaticHostsSettings" : {
"Hosts": [
"127.0.0.1:22293",
"127.0.0.1:22294",
"127.0.0.1:22295"
]
}
}
}
}
}
}