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