debian-mirror-gitlab/lib/gitlab/usage/metrics/instrumentations/snowplow_enabled_metric.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
289 B
Ruby
Raw Normal View History

2022-01-26 12:08:38 +05:30
# 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