MM-58092 Add feature flag and setting for client performance metrics (#26942)

* MM-58092 Add feature flag and setting for client performance metrics

* Fix incorrect field name
Этот коммит содержится в:
Harrison Healey
2024-05-06 09:46:16 -04:00
коммит произвёл GitHub
родитель 03c930daa0
Коммит 0a3a55bb80
5 изменённых файлов: 36 добавлений и 3 удалений

Просмотреть файл

@@ -187,6 +187,7 @@ func GenerateClientConfig(c *model.Config, telemetryID string, license *model.Li
if *license.Features.Cluster {
props["EnableMetrics"] = strconv.FormatBool(*c.MetricsSettings.Enable)
props["EnableClientMetrics"] = strconv.FormatBool(c.FeatureFlags.ClientMetrics && *c.MetricsSettings.EnableClientMetrics)
}
if *license.Features.Announcement {