summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage/metrics/instrumentations/hostname_metric.rb
blob: 3364c330cca4a77bae5414224807a0ea33e6f15a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Gitlab
  module Usage
    module Metrics
      module Instrumentations
        class HostnameMetric < GenericMetric
          value do
            Gitlab.config.gitlab.host
          end
        end
      end
    end
  end
end