Add hostname to usage ping
This commit is contained in:
parent
3c546acf78
commit
d2d6435372
3 changed files with 6 additions and 0 deletions
4
changelogs/unreleased/disable-usage-ping-2.yml
Normal file
4
changelogs/unreleased/disable-usage-ping-2.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Add hostname to usage ping
|
||||
merge_request:
|
||||
author:
|
|
@ -52,6 +52,7 @@ module Gitlab
|
|||
def license_usage_data
|
||||
usage_data = {
|
||||
uuid: current_application_settings.uuid,
|
||||
hostname: Gitlab.config.gitlab.host,
|
||||
version: Gitlab::VERSION,
|
||||
active_user_count: User.active.count,
|
||||
recorded_at: Time.now,
|
||||
|
|
|
@ -17,6 +17,7 @@ describe Gitlab::UsageData do
|
|||
edition
|
||||
version
|
||||
uuid
|
||||
hostname
|
||||
))
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue