From 7961599b2e41c71720a42b3bfde641f7529f05fe Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Tue, 22 Nov 2016 11:05:54 -0800 Subject: PLT-4357 adding performance monitoring (#4622) * WIP * WIP * Adding metrics collection * updating vendor packages * Adding metrics to config * Adding admin console page for perf monitoring * Updating glide * switching to tylerb/graceful --- utils/config.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils/config.go') 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) } -- cgit v1.2.3-1-g7c22