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

This commit is contained in:
Philipp Weber
2018-02-05 20:16:00 +01:00
committed by Daniel Nelson
parent 248ac6d92b
commit 0cb1b147e6
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