Add edition to usage ping
This commit is contained in:
parent
856dcd1832
commit
092258e924
2 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue