Skip to content
Snippets Groups Projects
Commit 092258e9 authored by Sean McGivern's avatar Sean McGivern Committed by Rémy Coutable
Browse files

Add edition to usage ping

parent 856dcd18
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -14,6 +14,7 @@ describe Gitlab::UsageData do
counts
recorded_at
mattermost_enabled
edition
version
uuid
))
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment