Add hostname to usage ping
This commit is contained in:
parent
3c546acf78
commit
d2d6435372
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Add hostname to usage ping
|
||||||
|
merge_request:
|
||||||
|
author:
|
|
@ -52,6 +52,7 @@ module Gitlab
|
||||||
def license_usage_data
|
def license_usage_data
|
||||||
usage_data = {
|
usage_data = {
|
||||||
uuid: current_application_settings.uuid,
|
uuid: current_application_settings.uuid,
|
||||||
|
hostname: Gitlab.config.gitlab.host,
|
||||||
version: Gitlab::VERSION,
|
version: Gitlab::VERSION,
|
||||||
active_user_count: User.active.count,
|
active_user_count: User.active.count,
|
||||||
recorded_at: Time.now,
|
recorded_at: Time.now,
|
||||||
|
|
|
@ -17,6 +17,7 @@ describe Gitlab::UsageData do
|
||||||
edition
|
edition
|
||||||
version
|
version
|
||||||
uuid
|
uuid
|
||||||
|
hostname
|
||||||
))
|
))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue