expose default configuration

This commit is contained in:
qinxiaohui 2020-04-29 17:11:41 +08:00
parent c559b8eb85
commit 25a1d30877
1 changed files with 8 additions and 0 deletions

View File

@ -5,11 +5,19 @@ logger:
identity:
specify: ""
shell: ifconfig `route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|awk -F ':' '{print $NF}'|head -n 1
stra:
enable: true
portPath: ./etc/port
procPath: ./etc/proc
logPath: ./etc/log
sys:
# timeout in ms
# interval in second
timeout: 1000
interval: 20
plugin: ./plugin
ifacePrefix:
- eth
- em