summaryrefslogtreecommitdiffstats
path: root/app/diagnostics.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/diagnostics.go')
-rw-r--r--app/diagnostics.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/diagnostics.go b/app/diagnostics.go
index 1df5b1feb..9946ce9f1 100644
--- a/app/diagnostics.go
+++ b/app/diagnostics.go
@@ -19,6 +19,7 @@ const (
TRACK_CONFIG_SERVICE = "config_service"
TRACK_CONFIG_TEAM = "config_team"
+ TRACK_CONFIG_CLIENT_REQ = "config_client_requirements"
TRACK_CONFIG_SQL = "config_sql"
TRACK_CONFIG_LOG = "config_log"
TRACK_CONFIG_FILE = "config_file"
@@ -244,6 +245,15 @@ func trackConfig() {
"restrict_private_channel_manage_members": *utils.Cfg.TeamSettings.RestrictPrivateChannelManageMembers,
})
+ SendDiagnostic(TRACK_CONFIG_CLIENT_REQ, map[string]interface{}{
+ "android_latest_version": utils.Cfg.ClientRequirements.AndroidLatestVersion,
+ "android_min_version": utils.Cfg.ClientRequirements.AndroidMinVersion,
+ "desktop_latest_version": utils.Cfg.ClientRequirements.DesktopLatestVersion,
+ "desktop_min_version": utils.Cfg.ClientRequirements.DesktopMinVersion,
+ "ios_latest_version": utils.Cfg.ClientRequirements.IosLatestVersion,
+ "ios_min_version": utils.Cfg.ClientRequirements.IosMinVersion,
+ })
+
SendDiagnostic(TRACK_CONFIG_SQL, map[string]interface{}{
"driver_name": utils.Cfg.SqlSettings.DriverName,
"trace": utils.Cfg.SqlSettings.Trace,