forked from Qihoo360/influx-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproxy.json
53 lines (53 loc) · 1.35 KB
/
proxy.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"BACKENDS": {
"influxdb-1": {
"url": "http://influxdb-1:8086",
"db": "test",
"zone": "local",
"basicauth": {
"username": "admin",
"password": "a1b2c3d4e"
},
"interval": 1000,
"timeout": 10000,
"timeoutquery": 600000,
"maxrowlimit": 10000,
"checkinterval": 1000,
"rewriteinterval": 10000
},
"influxdb-2": {
"url": "http://influxdb-2:8086",
"db": "test",
"basicauth": {
"username": "admin",
"password": "a1b2c3d4e"
},
"zone": "local",
"interval": 1000,
"timeout": 10000,
"timeoutquery": 600000,
"maxrowlimit": 10000,
"checkinterval": 1000,
"rewriteinterval": 10000
}
},
"KEYMAPS": {
"cpu": ["influxdb-1"],
"mem": ["influxdb-2"],
"_default_": ["influxdb-1"]
},
"NODES": {
"l1": {
"listenaddr": ":7076",
"db": "test",
"zone": "local",
"interval": 10,
"idletimeout": 10,
"writetracing": 0,
"querytracing": 0
}
},
"DEFAULT_NODE": {
"listenaddr": ":7076"
}
}