summaryrefslogtreecommitdiffstats
path: root/utils/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/config.go')
-rw-r--r--utils/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go
index 0f5d69a13..7889ea9ac 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -329,6 +329,10 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnableCluster"] = strconv.FormatBool(*c.ClusterSettings.Enable)
}
+ if *License.Features.Cluster {
+ props["EnableMetrics"] = strconv.FormatBool(*c.MetricsSettings.Enable)
+ }
+
if *License.Features.GoogleOAuth {
props["EnableSignUpWithGoogle"] = strconv.FormatBool(c.GoogleSettings.Enable)
}