add load average metrics, change prometheus apiserver svc

This commit is contained in:
Carman Zhang
2018-11-16 17:41:17 +08:00
parent 16eac8ce3c
commit df31cab343
3 changed files with 24 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ const (
PrometheusAPIServerEnv = "PROMETHEUS_API_SERVER"
)
var PrometheusAPIServer = "prometheus-k8s.monitoring.svc"
var PrometheusAPIServer = "prometheus-k8s.kubesphere-monitoring-system.svc"
var PrometheusEndpointUrl string
func init() {