Fix metrics URL getter

This commit is contained in:
stefanprodan
2019-06-19 10:30:19 +03:00
parent 9a87d47f45
commit 8c59e9d2b4

View File

@@ -183,5 +183,5 @@ func (p *PrometheusClient) IsOnline() (bool, error) {
}
func (p *PrometheusClient) GetMetricsServer() string {
return p.url.RawQuery
return p.url.String()
}