diff options
author | George Goldberg <george@gberg.me> | 2017-02-24 17:33:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-24 17:33:59 +0000 |
commit | f182d196fffc9da89ad63bdbd7bbb2e41da3146e (patch) | |
tree | 45d8aaad6ffc335dd40db225f2775d3204fcc812 /utils/config.go | |
parent | ba028ed74b69bd1dd902344663fbf8ba4f1dfb87 (diff) | |
download | chat-f182d196fffc9da89ad63bdbd7bbb2e41da3146e.tar.gz chat-f182d196fffc9da89ad63bdbd7bbb2e41da3146e.tar.bz2 chat-f182d196fffc9da89ad63bdbd7bbb2e41da3146e.zip |
PLT-5070: Server side component of Telemetry. (#5514)
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/config.go b/utils/config.go index a1f647b3f..0908f2297 100644 --- a/utils/config.go +++ b/utils/config.go @@ -256,7 +256,6 @@ func getClientConfig(c *model.Config) map[string]string { props["RestrictPrivateChannelDeletion"] = *c.TeamSettings.RestrictPrivateChannelDeletion props["EnableOAuthServiceProvider"] = strconv.FormatBool(c.ServiceSettings.EnableOAuthServiceProvider) - props["SegmentDeveloperKey"] = c.ServiceSettings.SegmentDeveloperKey props["GoogleDeveloperKey"] = c.ServiceSettings.GoogleDeveloperKey props["EnableIncomingWebhooks"] = strconv.FormatBool(c.ServiceSettings.EnableIncomingWebhooks) props["EnableOutgoingWebhooks"] = strconv.FormatBool(c.ServiceSettings.EnableOutgoingWebhooks) @@ -315,6 +314,9 @@ func getClientConfig(c *model.Config) map[string]string { props["TimeBetweenUserTypingUpdatesMilliseconds"] = strconv.FormatInt(*c.ServiceSettings.TimeBetweenUserTypingUpdatesMilliseconds, 10) props["EnableUserTypingMessages"] = strconv.FormatBool(*c.ServiceSettings.EnableUserTypingMessages) + props["DiagnosticId"] = CfgDiagnosticId + props["DiagnosticsEnabled"] = strconv.FormatBool(*c.LogSettings.EnableDiagnostics) + if IsLicensed { if *License.Features.CustomBrand { props["EnableCustomBrand"] = strconv.FormatBool(*c.TeamSettings.EnableCustomBrand) |