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.: ...@@ -75,6 +75,9 @@ The total number of the following is sent back to GitLab Inc.:
- Remote mirrors - Remote mirrors
- Web hooks - Web hooks
Also, we track if you've installed Mattermost with GitLab.
For example: `"mattermost_enabled":true"`.
## Privacy policy ## Privacy policy
GitLab Inc. does **not** collect any sensitive information, like project names GitLab Inc. does **not** collect any sensitive information, like project names
......
...@@ -47,7 +47,8 @@ module Gitlab ...@@ -47,7 +47,8 @@ module Gitlab
def license_usage_data def license_usage_data
usage_data = { version: Gitlab::VERSION, usage_data = { version: Gitlab::VERSION,
active_user_count: User.active.count, active_user_count: User.active.count,
recorded_at: Time.now } recorded_at: Time.now,
mattermost_enabled: Gitlab.config.mattermost.enabled }
usage_data usage_data
end end
......
...@@ -14,6 +14,7 @@ describe Gitlab::UsageData do ...@@ -14,6 +14,7 @@ describe Gitlab::UsageData do
counts counts
version version
recorded_at recorded_at
mattermost_enabled
)) ))
end 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