Add listen config.
This commit is contained in:
committed by
Cyril Duez
parent
58b7c43ced
commit
18d49da9da
@@ -328,7 +328,7 @@ func (a *Agent) Run(shutdown chan struct{}) error {
|
||||
// channel shared between all input threads for accumulating metrics
|
||||
metricC := make(chan telegraf.Metric, 10000)
|
||||
webserver := webserver.NewWebserver()
|
||||
webserver.ServiceAddress = ":1619"
|
||||
webserver.ServiceAddress = a.Config.Agent.WebhookServiceAddress
|
||||
|
||||
for _, input := range a.Config.Inputs {
|
||||
// Start service of any ServicePlugins
|
||||
|
||||
Reference in New Issue
Block a user