forked from chengshiwen/influx-proxy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
proxy.toml
50 lines (44 loc) · 836 Bytes
/
proxy.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
listen_addr = ":7076"
db_list = []
data_dir = "data"
tlog_dir = "log"
hash_key = "idx"
flush_size = 10000
flush_time = 1
check_interval = 1
rewrite_interval = 10
conn_pool_size = 20
write_timeout = 10
idle_timeout = 10
username = ""
password = ""
write_tracing = false
query_tracing = false
pprof_enabled = false
https_enabled = false
https_cert = ""
https_key = ""
[[circles]]
name = "circle-1"
[[circles.backends]]
name = "influxdb-1-1"
url = "http://127.0.0.1:8086"
username = ""
password = ""
[[circles.backends]]
name = "influxdb-1-2"
url = "http://127.0.0.1:8087"
username = ""
password = ""
[[circles]]
name = "circle-2"
[[circles.backends]]
name = "influxdb-2-1"
url = "http://127.0.0.1:8088"
username = ""
password = ""
[[circles.backends]]
name = "influxdb-2-2"
url = "http://127.0.0.1:8089"
username = ""
password = ""