summaryrefslogtreecommitdiff
path: root/lib/gitlab/importers/common_metrics/prometheus_metric.rb
blob: a9397f4c055c1be92fce5013cd1def699966708d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Gitlab
  module Importers
    module CommonMetrics
      class PrometheusMetric < ApplicationRecord
        enum group: PrometheusMetricEnums.groups
        scope :common, -> { where(common: true) }
      end
    end
  end
end