Commit 092258e9 authored by Sean McGivern's avatar Sean McGivern Committed by Rémy Coutable

Add edition to usage ping

parent 856dcd18
......@@ -48,11 +48,14 @@ module Gitlab
end
def license_usage_data
usage_data = { uuid: current_application_settings.uuid,
version: Gitlab::VERSION,
active_user_count: User.active.count,
recorded_at: Time.now,
mattermost_enabled: Gitlab.config.mattermost.enabled }
usage_data = {
uuid: current_application_settings.uuid,
version: Gitlab::VERSION,
active_user_count: User.active.count,
recorded_at: Time.now,
mattermost_enabled: Gitlab.config.mattermost.enabled,
edition: 'CE'
}
usage_data
end
......
......@@ -14,6 +14,7 @@ describe Gitlab::UsageData do
counts
recorded_at
mattermost_enabled
edition
version
uuid
))
......
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