Remove userinfo from url tag in prometheus input (#3743)

This commit is contained in:
Philipp Weber
2018-02-05 11:16:00 -08:00
committed by Daniel Nelson
parent 248ac6d92b
commit 0cb1b147e6
4 changed files with 42 additions and 34 deletions
@@ -631,7 +631,7 @@ func setupPrometheus() (*PrometheusClient, *prometheus_input.Prometheus, error)
time.Sleep(time.Millisecond * 200)
p := &prometheus_input.Prometheus{
Urls: []string{"http://localhost:9127/metrics"},
URLs: []string{"http://localhost:9127/metrics"},
}
return pTesting, p, nil