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

sample_instrumentation_metric.rb « metrics « fixtures « tooling « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6b86137b1b555c90eaf74a4a394282ad4493f11 (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 ActiveUserCountMetric < DatabaseMetric
          operation :count

          relation { SuperUser.active }
        end
      end
    end
  end
end