summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage/metrics/instrumentations/snowplow_enabled_metric.rb
blob: 5d504c70e737a47399a4ffe26736fa2ec0825639 (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 SnowplowEnabledMetric < GenericMetric
          def value
            Gitlab::CurrentSettings.snowplow_enabled?
          end
        end
      end
    end
  end
end