enable metrics by default

Signed-off-by: LiHui <andrewli@yunify.com>
This commit is contained in:
LiHui
2021-01-04 12:11:38 +08:00
parent 611f1c6991
commit 1ecec78379
8 changed files with 10 additions and 53 deletions

View File

@@ -33,7 +33,6 @@ import (
"kubesphere.io/kubesphere/pkg/simple/client/k8s"
"kubesphere.io/kubesphere/pkg/simple/client/ldap"
"kubesphere.io/kubesphere/pkg/simple/client/logging/elasticsearch"
"kubesphere.io/kubesphere/pkg/simple/client/metrics"
"kubesphere.io/kubesphere/pkg/simple/client/monitoring/prometheus"
"kubesphere.io/kubesphere/pkg/simple/client/multicluster"
"kubesphere.io/kubesphere/pkg/simple/client/network"
@@ -157,9 +156,6 @@ func newTestConfig() (*Config, error) {
IndexPrefix: "ks-logstash-auditing",
Version: "6",
},
MetricsOptions: &metrics.Options{
Enable: false,
},
}
return conf, nil
}