Track Mattermost usage

This commit is contained in:
Z.J. van de Weg 2017-01-18 19:33:33 +01:00 committed by Rémy Coutable
parent a19dd9ad25
commit f5b42881c8
3 changed files with 6 additions and 1 deletions

View File

@ -75,6 +75,9 @@ The total number of the following is sent back to GitLab Inc.:
- Remote mirrors
- Web hooks
Also, we track if you've installed Mattermost with GitLab.
For example: `"mattermost_enabled":true"`.
## Privacy policy
GitLab Inc. does **not** collect any sensitive information, like project names

View File

@ -47,7 +47,8 @@ module Gitlab
def license_usage_data
usage_data = { version: Gitlab::VERSION,
active_user_count: User.active.count,
recorded_at: Time.now }
recorded_at: Time.now,
mattermost_enabled: Gitlab.config.mattermost.enabled }
usage_data
end

View File

@ -14,6 +14,7 @@ describe Gitlab::UsageData do
counts
version
recorded_at
mattermost_enabled
))
end