Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ldap_encrypted_secrets_metric.rb « instrumentations « metrics « usage « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7667cff06e0b2ede2bfb9612dc819a6ab17f481f (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 LdapEncryptedSecretsMetric < GenericMetric
          value do
            Gitlab::Auth::Ldap::Config.encrypted_secrets.active?
          end
        end
      end
    end
  end
end