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

(cherry picked from commit b7a68eef56)
This commit is contained in:
Philipp Weber
2018-02-05 20:16:00 +01:00
committed by Daniel Nelson
parent f59231941f
commit d671299e96
4 changed files with 42 additions and 34 deletions

View File

@@ -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