Commit d2d64353 authored by Sean McGivern's avatar Sean McGivern

Add hostname to usage ping

parent 3c546acf
---
title: Add hostname to usage ping
merge_request:
author:
...@@ -52,6 +52,7 @@ module Gitlab ...@@ -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 ...@@ -17,6 +17,7 @@ describe Gitlab::UsageData do
edition edition
version version
uuid uuid
hostname
)) ))
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment