Remove userinfo from url tag in prometheus input (#3743)
(cherry picked from commit b7a68eef56)
This commit is contained in:
committed by
Daniel Nelson
parent
f59231941f
commit
d671299e96
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user