Add hostname to usage ping

This commit is contained in:
Sean McGivern 2017-05-09 20:58:22 +01:00
parent 3c546acf78
commit d2d6435372
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,4 @@
---
title: Add hostname to usage ping
merge_request:
author:

View file

@ -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,

View file

@ -17,6 +17,7 @@ describe Gitlab::UsageData do
edition
version
uuid
hostname
))
end