[#1074#root@ubuntu-1604 /go/src/github.com/moooofly/hunter-agent]$./agent -H tcp://0.0.0.0:12345 -H unix:///var/run/hunter-agent.sock --metrics-addr 0.0.0.0:12346 --broker xx.xx.xx.xx:9092 --topic jaeger-spans-test-001
unable to configure the hunter-agent with file /etc/hunter/agent.json: the following directives are specified both as a flag and in the configuration file: metrics-addr: (from flag: 0.0.0.0:12346, from file: 0.0.0.0:12346)
[#1075#root@ubuntu-1604 /go/src/github.com/moooofly/hunter-agent]$
phenomenon
and
solution
Should remove one of them.