Commit f5b42881 authored by Z.J. van de Weg's avatar Z.J. van de Weg Committed by Rémy Coutable

Track Mattermost usage

parent a19dd9ad
......@@ -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
......
......@@ -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
......
......@@ -14,6 +14,7 @@ describe Gitlab::UsageData do
counts
version
recorded_at
mattermost_enabled
))
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment