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

count_projects_with_ml_experiments_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: d575163b6b593aa6613102c8e244eba4b952cbd6 (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 CountProjectsWithMlExperimentsMetric < DatabaseMetric
          operation :distinct_count, column: :project_id

          relation { Ml::Experiment }
        end
      end
    end
  end
end