code refactor
This commit is contained in:
parent
b4ce2e8167
commit
3d11f2cacc
|
@ -3,14 +3,14 @@ tokens:
|
|||
- monapi-internal-third-module-pass-fjsdi
|
||||
logger:
|
||||
dir: logs/monapi
|
||||
level: WARNING
|
||||
keepHours: 2
|
||||
level: INFO
|
||||
keepHours: 24
|
||||
region:
|
||||
- default
|
||||
# read alert from redis
|
||||
redis:
|
||||
addr: 127.0.0.1:6379
|
||||
pass: 1234
|
||||
pass: ""
|
||||
# timeout:
|
||||
# conn: 500
|
||||
# read: 3000
|
||||
|
@ -23,6 +23,6 @@ notify:
|
|||
|
||||
# addresses accessible using browser
|
||||
link:
|
||||
stra: http://ecmc.com/mon/strategy/%v
|
||||
event: http://ecmc.com/mon/history/his/%v
|
||||
claim: http://ecmc.com/mon/history/cur/%v
|
||||
stra: http://n9e.com/mon/strategy/%v
|
||||
event: http://n9e.com/mon/history/his/%v
|
||||
claim: http://n9e.com/mon/history/cur/%v
|
||||
|
|
|
@ -4,7 +4,7 @@ backend:
|
|||
enabled: true
|
||||
name: "tsdb"
|
||||
cluster:
|
||||
tsdb01: 127.0.0.1:5821
|
||||
tsdb01: 127.0.0.1:8011
|
||||
influxdb:
|
||||
enabled: false
|
||||
username: "influx"
|
||||
|
@ -19,16 +19,8 @@ backend:
|
|||
enabled: false
|
||||
brokersPeers: "192.168.1.1:9092,192.168.1.2:9092"
|
||||
topic: "n9e"
|
||||
aggr:
|
||||
enabled: false
|
||||
kafkaAddrs:
|
||||
- ecmc-01.py:9092
|
||||
- ecmc-02.py:9092
|
||||
- ecmc-03.py:9092
|
||||
kafkaAggrInTopic: aggrin
|
||||
kafkaAggrOutTopic: aggrout
|
||||
|
||||
logger:
|
||||
dir: logs/transfer
|
||||
level: WARNING
|
||||
keepHours: 2
|
||||
level: INFO
|
||||
keepHours: 24
|
||||
|
|
Loading…
Reference in New Issue