diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2015-12-31 17:55:10 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2015-12-31 17:55:10 +0100 |
commit | cafc784ee1d5d0a0279077272af8ee435bb110e4 (patch) | |
tree | 91252ab1f8353857fbe452b00068481e0747b74c /lib/gitlab/metrics.rb | |
parent | bd9f86bb8abb4759a0c72f94fb0492b1ff8619b5 (diff) | |
download | gitlab-ce-cafc784ee1d5d0a0279077272af8ee435bb110e4.tar.gz |
Removed tracking of hostnames for metrics
This isn't hugely useful and mostly wastes InfluxDB space. We can re-add
this whenever needed (but only once we really need it).
Diffstat (limited to 'lib/gitlab/metrics.rb')
-rw-r--r-- | lib/gitlab/metrics.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/gitlab/metrics.rb b/lib/gitlab/metrics.rb index c5b98a0115e..ee88ab34d6c 100644 --- a/lib/gitlab/metrics.rb +++ b/lib/gitlab/metrics.rb @@ -38,10 +38,6 @@ module Gitlab @pool end - def self.hostname - @hostname - end - # Returns a relative path and line number based on the last application call # frame. def self.last_relative_application_frame @@ -89,8 +85,6 @@ module Gitlab value.to_s.gsub('=', '\\=') end - @hostname = Socket.gethostname - # When enabled this should be set before being used as the usual pattern # "@foo ||= bar" is _not_ thread-safe. if enabled? |